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

A way for persisting revision data manually by calling AuditProcess.getCurrentRevisionData(session, persist)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Rejected
    • Affects Version/s: 4.1.10, 4.1.11, 4.2.0.Final, 4.3.0.Beta1
    • Fix Version/s: None
    • Component/s: hibernate-envers
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      I would like to be able to call AuditProcess.getCurrentRevisionData(session, true) in my application to save revinfo manually so that I can use the revinfo object in my application. However, right now if I did that instead, when AuditProcess.executeInSession(session) calls AuditProcess.getCurrentRevisionData(session, true), the session doesn't seem to contain my saved revinfo and session.contains(revisionData) returns false, resulting revinfo gets saved one more time in the database.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: