Hello,
I currently use the hibernate.hbm2ddl.auto property with a value of create.
While this setting is very convenient for some entities, I also have an entity that is not going to change and that contains some data that I would like to keep across restarts of the app server (i.e. Tomcat).
I am seeking for a way to tell hibernate/JPA not to touch this entity/table whatever the value of the hibernate.hbm2ddl.auto property.
Is it possible to configure the value of this property at the level of an entity and therefore override the overall behavior for a specific entity?
Thanks in advance for your help,
J.
|