org.hibernate.MappingException: The field annotated with @RevisionTimestamp must be of type long, Long, java.util.Date or java.sql.Date

Hibernate JIRA | Marcelo Glasberg | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. org.hibernate.MappingException

      The field annotated with @RevisionTimestamp must be of type long, Long, java.util.Date or java.sql.Date

      at org.hibernate.envers.configuration.internal.RevisionInfoConfiguration.searchForRevisionInfoCfgInProperties()
    2. org.hibernate.envers
      EnversServiceImpl.doInitialize
      1. org.hibernate.envers.configuration.internal.RevisionInfoConfiguration.searchForRevisionInfoCfgInProperties(RevisionInfoConfiguration.java:240)
      2. org.hibernate.envers.configuration.internal.RevisionInfoConfiguration.searchForRevisionInfoCfg(RevisionInfoConfiguration.java:286)
      3. org.hibernate.envers.configuration.internal.RevisionInfoConfiguration.configure(RevisionInfoConfiguration.java:329)
      4. org.hibernate.envers.boot.internal.EnversServiceImpl.doInitialize(EnversServiceImpl.java:133)
      4 frames