Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2016-01-07 Thread Vlad Mihalcea
Thanks Gail, I'll try it on my fork after I push the migrated User Guide. Vlad On Thu, Jan 7, 2016 at 11:36 AM, Gail Badner wrote: > I've created a pull request for HHH-5855. [1] > > I ran into several bugs related to delayed operations, so this is a > work-in-progess. I wanted to create a pul

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2016-01-07 Thread Gail Badner
I've created a pull request for HHH-5855. [1] I ran into several bugs related to delayed operations, so this is a work-in-progess. I wanted to create a pull request of what I have so far. I will revisit it when I return to work 1/14/16. I plan to address the other bugs separately. Regards, Gail

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2015-12-23 Thread Vlad Mihalcea
Hi Gail, I'm glad there is a development plan on this one . I've been following this issue for a couple of years and seen some recent comments which reminded me of it. Someone asked me on my blog if we can get it fixed, as it's causing problems when people are trying to merge back detached entitie

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2015-12-23 Thread Gail Badner
We really don't want to initialize a List when merging. Instead, we want to do the same sort of replace on the values stored in the DelayedOperation objects. That way, the collection will be initialized only when necessary. The DelayedOperations are executed on flush. I'll should get a pull request

Re: [hibernate-dev] HHH-5855 bug report and a possible fix

2015-12-23 Thread Gail Badner
Hi Vlad, I've spend quite a bit of time on this one and already have a fix. I just have some tests to add to confirm. I will look into what you suggest, but please check with me first if you see that an issue is assigned to me. Thanks, Gail On Wed, Dec 23, 2015 at 4:13 AM, Vlad Mihalcea wrote: