Actually, I think I might understand. I ran the same test suite with mysql and I get the following exception, which is more helpful:
Code:
org.springframework.jdbc.UncategorizedSQLException: StatementCallback; uncategorized SQLException for SQL [INSERT INTO task(task_id, name, module_id, ordering, delay) VALUES('1', 'Star Trek', '1', '0', '0');]; SQL state [HY000]; error code [1364]; Field 'description' doesn't have a default value; nested exception is java.sql.SQLException: Field 'description' doesn't have a default value
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)
This basically means that older versions of hibernate used to put in default values when it generated the DDL/schema... but now it no longer does. You guys should add this to the migration guide for sure. This is pretty huge.
Is there any way to quickly get back to the old behaviour without having to add in all the default values? This is just test data, so honestly, I don't really care about it as the description field is pretty much irrelevant. There is over 20,000 characters of test data in the file and I'd rather not have to go through them 1-by-1 to fix them.
EDIT: I guess it wasn't so bad... that was the only one that needed fixing ;) I just set description="". I'm assuming this had to be a bug fix then... and I was just getting a bad insert to pass all along.