Skip to content

MySql Reserved word as column name

When tryin to run the tests for InMemoryDBIntegrationTest all tests fail. A common error between all failing tests is the error Error executing DDL "create table <db_table_name>" via JDBC [Syntax error in SQL statement "create table <db_table_name>...], org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL.

This happens because in class InMemoryDBIntegrationTest when hibernate tries to create the table derived by entity PortalProperty it tries to use the MySql reserved word value as a column name.