Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when inserting in batch with joined table inheritance #1867

Open
DavideD opened this issue Feb 26, 2024 · 2 comments
Open

Error when inserting in batch with joined table inheritance #1867

DavideD opened this issue Feb 26, 2024 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@DavideD
Copy link
Member

DavideD commented Feb 26, 2024

See quarkusio/quarkus#38948

A test is available here: DavideD@10ab8cd

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.

@DavideD DavideD self-assigned this Feb 26, 2024
@DavideD DavideD added this to the next milestone Feb 26, 2024
DavideD added a commit to DavideD/hibernate-reactive that referenced this issue Mar 12, 2024
@DavideD DavideD changed the title Error when mapping many-to-many with composite id Error when inserting in batch with joined table inheritance Mar 13, 2024
@DavideD DavideD removed this from the next milestone Mar 13, 2024
@MarciaBM
Copy link

MarciaBM commented Apr 8, 2024

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...

@DavideD
Copy link
Member Author

DavideD commented Apr 9, 2024

No news, sorry. But I've finished the upgrade to Hibernate ORM 6.5, so I might have time to look into this soon.

@DavideD DavideD added this to the next milestone Apr 15, 2024
@DavideD DavideD added the bug Something isn't working label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants