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

Envers creates revision for changing from empty string to null and from null to string

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.8
    • Fix Version/s: 4.1.3
    • Component/s: hibernate-envers
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      https://community.jboss.org/message/729699#729699

      Envers creates revision for changing from empty string to null and from null to string.

      So after load of that revisions they contain exactly same data, so it is the same revision data for two subsequent revisions. So revision are changed but data isn't.

      Suggested solution attached.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: