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

[mysql] REVINFO using INT for REVTSTMP but should use BIGINT

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: hibernate-envers
    • Labels:
      None
    • Environment:
      java 1.7, mac, mysql 5.5.32, spring 3.1.4
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      I have an entity "Product" @Audited.
      When I save this entity I got an exception ...

      ...
      org.springframework.dao.DataIntegrityViolationException: Data truncation: Out of range value for column 'REVTSTMP' at row 1; SQL [n/a]; nested exception is org.hibernate.exception.DataException: Data truncation: Out of range value for column 'REVTSTMP' at row 1

      The column for REVTSTMP is INT instead of BIGINT. Ist this an configuration problem or an error?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: