[hibernate-dev] Introduce OperationContext in 5.3?
Gail Badner
gbadner at redhat.com
Fri Mar 2 00:58:49 EST 2018
Hi Steve,
I was going to make an improvement to my POC to use lambda expressions. I
remember you had a couple of comments about the POC; I'll have to look them
up. If it wasn't anything that had a big impact on the design, then I think
I may be able to get it fixed in 2 weeks. I'll look into this more tomorrow.
Thanks,
Gail
On Thu, Mar 1, 2018 at 1:38 PM, Steve Ebersole <steve at hibernate.org> wrote:
> I'm ok with it, but only if it's going to be ready in 2 weeks
>
>
> On Thu, Mar 1, 2018, 2:32 PM Gail Badner <gbadner at redhat.com> wrote:
>
>> Hi,
>>
>> HHH-10478 is currently scheduled for 6.0.0.alpha1. What do you think about
>> introducing it into 5.3.0 instead?
>>
>> Using an OperationContext would be a less hacky way to fix HHH-3799
>> (PersistentSet does not honor hashcode/equals contract when loaded
>> eagerly).
>>
>> It would be nice to remove operation-specific fields from
>> StatefulPersistenceContext:
>>
>> private int cascading;
>> private int loadCounter;
>> private int removeOrphanBeforeUpdatesCounter;
>> private boolean flushing;
>> private boolean defaultReadOnly;
>> private boolean hasNonReadOnlyEntities;
>>
>> private LoadContexts loadContexts;
>>
>> Without using an Operation context, the fix for HHH-3799would add
>> something
>> like:
>>
>> private boolean isEntityLoading;
>>
>> Regards,
>> Gail
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>
More information about the hibernate-dev
mailing list