Uploaded image for project: 'Hibernate ORM'
  1. HHH-9806

Bytecode-enhancement-based dirty tracking does not work because PersistentAttributeInterceptor is never injected

    Details

    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      This is a regression of HHH-8354 Closed , if that code ever worked. There are no tests of the dirty tracking "in operation", just some tests of the enhanced bytecode.

      Some details at http://vladmihalcea.com/2014/09/08/hibernate-bytecode-enhancement/

      I also did a usage search for org.hibernate.engine.spi.PersistentAttributeInterceptor and found that:

      1. there is no non-test implementations of this method, and
      2. no code ever tries to inject the interceptor into the enhanced entity.

      Ståle W. Pedersen, did this ever work? Or Luis Barreiro, did you introduce a regression here when you refactored this code?

      Vlad Mihalcea Any additional details to add?

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3.05h
                  3.05h