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 | 6 months ago
  1. 0

    Caused by: org.hibernate.MappingException: Only one entity may be annotated with @RevisionEntity

    Stack Overflow | 4 years ago | Hantsy
    org.hibernate.MappingException: Only one entity may be annotated with @RevisionEntity!
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    hibernate - what is wrong??

    Google Groups | 1 decade ago | konrad....@gmail.com
    org.hibernate.MappingException: An association from the table bean2 refers to an unmapped class: long
  4. 0

    Diseño maestro-detalle y PK's múltiples

    openxava | 1 decade ago | xscorp
    org.hibernate.MappingException: Foreign key (FK5E5A9A65B1D99063:domicilio\_empleado \[empleado,licencia\])) must have same number of columns as the referenced

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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