How to batch values with springData @ query

    @Modifying
    @Query(value = "insert into role_account (role_id,account_id) values ", nativeQuery = true)
    Integer insertUserRealtion (Long roleId, List<Long> userIds);

as above, how to express after values?

Oct.31,2021
Menu