Joined: Fri Apr 28, 2006 10:14 am Posts: 11 Location: Paris, France
|
I changed:
.setProperty(Environment.HBM2DDL_AUTO, "validate");
from create to validate to see if that was it but that gives me:
Could not synchronize database state with session
Caused by: java.sql.BatchUpdateException: failed batch
at org.hsqldb.jdbc.jdbcStatement.executeBatch(Unknown Source)
at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(Unknown Source)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
|
|