You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of H6, ORM has operations like insertMultiple() accepting List<?> which implicitly set the batch size to the size of the given list. Reactive has very similar insertAll() operations, but they do not set the batch size, though you can accomplish the same thing by calling reactiveInsertAll(array.length, array).
I think the behavior in ORM is more convenient.
On a similar note: after much consideration, I decided that the operations in ORM should accept List instead of varargs, and that Multiple was less ambiguous than All. I'm wondering if it's worth adding insertMultiple(List) and friends to the reactive API (we don't need to drop or rename the older operations).
The text was updated successfully, but these errors were encountered:
gavinking
added a commit
to gavinking/hibernate-reactive
that referenced
this issue
Dec 19, 2024
As of H6, ORM has operations like
insertMultiple()
acceptingList<?>
which implicitly set the batch size to the size of the given list. Reactive has very similarinsertAll()
operations, but they do not set the batch size, though you can accomplish the same thing by callingreactiveInsertAll(array.length, array)
.I think the behavior in ORM is more convenient.
On a similar note: after much consideration, I decided that the operations in ORM should accept
List
instead of varargs, and thatMultiple
was less ambiguous thanAll
. I'm wondering if it's worth addinginsertMultiple(List)
and friends to the reactive API (we don't need to drop or rename the older operations).The text was updated successfully, but these errors were encountered: