When generating the database schema using the Hibernate property
(code:xml}<property name="hibernate.hbm2ddl.auto" value="create"/>{ code: xml}
The column name of the entitiy tables is correctly changed into the value provided via the Hibernate property
{code:xml}<property name="org.hibernate.envers.revision_field_name" value="revision"/>{ code: xml}
but the name of the column of the Envers table revinfo is still "REV" which can lead to confusion when e.g. storing the DDL scripts externally. |
|