-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: 2 bugs in hibernate 5 insert batches sequence sorting
PostPosted: Thu Oct 05, 2017 11:07 am 
Newbie

Joined: Thu Oct 05, 2017 10:58 am
Posts: 2
This one I have fixed (for me):
https://stackoverflow.com/questions/46530846/after-hibernate-migration-from-4-to-5-onetoone-relationship-causes-constraintvio/
And this one I use a workaround:
https://stackoverflow.com/questions/46549736/bug-in-hibernate-5-insert-sequence-order

Requesting an official fix :)


Top
 Profile  
 
 Post subject: Re: 2 bugs in hibernate 5 insert batches sequence sorting
PostPosted: Fri Oct 06, 2017 2:58 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
This issue might have been already fixe din 5.2.11.

However, if you have a replicating test case which proves that your valid mappings are not properly ordered, then you should open a Jira issue.


Top
 Profile  
 
 Post subject: Re: 2 bugs in hibernate 5 insert batches sequence sorting
PostPosted: Fri Oct 06, 2017 5:27 am 
Newbie

Joined: Thu Oct 05, 2017 10:58 am
Posts: 2
5.2.11 is the version where I've found the bugs. Sorry forgot to mention the exact number.


Top
 Profile  
 
 Post subject: Re: 2 bugs in hibernate 5 insert batches sequence sorting
PostPosted: Fri Oct 06, 2017 7:21 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
In this package on GitHub, you can find all the tests that prove that the batch ordering works as expected.

Send us a Pull Request with a new test case that proves the bug that you have noticed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.