When generating the database schema using the Hibernate property
(code: lang= xml} <property name="hibernate.hbm2ddl.auto" value="create"/> {code}
The column name of the entitiy tables is correctly changed into the value provided via the Hibernate property
{code: lang= xml} <property name="org.hibernate.envers.revision_field_name" value="revision"/> {code}
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. |
|