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 | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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