[hibernate-commits] [hibernate/hibernate-orm] c1f9b9: HHH-13380 Bytecode enhanced entities might throw L...

Jay Paulsen noreply at github.com
Wed Aug 12 04:18:57 EDT 2020


  Branch: refs/heads/5.4
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: c1f9b9dda49ba23ce5846ba7f5c9c83f516156dd
      https://github.com/hibernate/hibernate-orm/commit/c1f9b9dda49ba23ce5846ba7f5c9c83f516156dd
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java

  Log Message:
  -----------
  HHH-13380 Bytecode enhanced entities might throw LazyInitializationException from custom equals/hashcode implementations

Apparently we trigger the need to invoke equals/hashcode methods on managed entities just before the Session is attached to the BytecodeLazyAttributeInterceptor


  Commit: 194293330b7b53b6703d153bb8a683a240dfefce
      https://github.com/hibernate/hibernate-orm/commit/194293330b7b53b6703d153bb8a683a240dfefce
  Author: Jay Paulsen <jay-paulsen at uiowa.edu>
  Date:   2020-08-12 (Wed, 12 Aug 2020)

  Changed paths:
    A hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyOneToManyWithEqualsImplementationTest.java

  Log Message:
  -----------
  HHH-13380 Test for the issue


Compare: https://github.com/hibernate/hibernate-orm/compare/e73b05100de3...194293330b7b


More information about the hibernate-commits mailing list