hibernate-reactive
hibernate-reactive copied to clipboard
Error when inserting in batch with joined table inheritance
See https://github.com/quarkusio/quarkus/issues/38948
A test is available here: https://github.com/DavideD/hibernate-reactive/commit/10ab8cdf4b757917888e9929226c462028dbeb08
The test only fails when batching is enabled.
The problem is in the way we have implemented ReactiveMutationExecutorStandard#performReactiveBatchedOperations.
It shouldn't delegate to the super reactive class, it should instead implement the batching and mimic what's happening in MutationExecutorStandard#performBatchOperations
The test passes without batching. I will look into this after the upgrade to ORM 6.5.
Hello, sorry to bother, any news about this? Or any alternative where I can use a batch size bigger than 1? I have endpoints taking more than 30 minutes...
No news, sorry. But I've finished the upgrade to Hibernate ORM 6.5, so I might have time to look into this soon.