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

clarification on the way interceptors and event system interact.

    Details

    • Type: Patch
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.cr4
    • Fix Version/s: 5.2.5, 5.1.5
    • Component/s: documentation
    • Labels:
      None
    • Patch Reminder (view):

      Contributions and patches should be using the GitHub Fork + Pull model

    • Last commented by a user?:
      true

      Description

      Please add this (or equivalent) to the bottom of section 12.1. (Interceptors):

      ===========================================
      Interceptors are invoked by Hibernate's default event listeners. For example, interceptors' onSave() method is invoked by Hibernate's DefaultSaveOrUpdateEventListener
      ===========================================

      Please add this (or equivalent) to the bottom of section 12.2 (Event System):

      ===========================================
      When changing the event listeners be sure to keep the various Hibernate default listeners. These listeners actually perform much of Hibernate's persistence work, including invocation of the interceptors. Without those default listeners, Hibernate will quietly do nothing.
      ===========================================

        Attachments

          Issue links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: