4 Replies Latest reply on Aug 22, 2008 12:35 PM by Yanick Gagnon

    hbm2ddl ignoring @Versioned annotations?

    Yanick Gagnon Newbie


      I was doing some tests in an existing project using hibernate/Oracle, but I was not able to get the "versioned" table created properly. Annotated entities have their tables created properly but the Versioned table are not being created.

      I double checked the configuration for using envers with Oracle but still not getting the versioned tables created.

      I was expecting exceptions of any kinds (or logs) when running the hbm2ddl.SchemaExport, but my schema is simply generated as if no @Versioned annotation were added to my Java classes.

      Any idea?