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

Java exception when using @CreationTimestamp or @UpdateTimestamp annotation in Embeddable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 5.2.18, 5.3.6, 5.1.17
    • Fix versions: None
    • Components: hibernate-core
    • Labels:
    • Environment:
      java

      Description

      When I use the @CreationTimestamp or @UpdateTimestamp in an embeddable java throws exception:

      javax.persistence.PersistenceException: Unable to build Hibernate SessionFactory

      …which is caused by:
      Caused by: org.hibernate.cfg.NotYetImplementedException: Still need to wire in composite in-memory value generation

      I’ve tried with both Hibernate ORM 5.1, 5.2, and 5.3 with the same results. Does anybody know if this is a reported bug or are those annotations not supported?

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Feedback Requested: