This content has been marked as final. Show 2 replies
you should not be using hsqldb for persisting your data (there are a lot of articls against using hsqldb for anything... in the end it's your call)
<entity-manager> <name>abc</name> <jta-data-source>java:/DefaultDS</jta-data-source> <properties> ... ... <property name="hibernate.hbm2ddl.auto" value="update" /> </properties> </entity-manager>
this will update your schema in case of a change, you can replace "update" with "none" so hibernate will not touch your schema and you would get an exception the first time you try to access an object with mismatch persistance layout
Awesome! Thank you!