I'm trying to get hbm2ddl to generate a schema for MySQL that includes a property that is a nullable timestamp. On MySQL, timestamps are NOT NULL by default, so I need the output to contain
`CSEMAILVERIFIED` timestamp NULL DEFAULT NULL,
I've set 'not-null="false"' in my mapping, however hbm2ddl doesn't explicitly mark nullable fields as NULL, which causes the generated schema to fail when add "default=null" to the mapping (as `CSEMAILVERIFIED` timestamp DEFAULT NULL is invalid on MySQL). Is there a way to get hbm2ddl to explicitly mark nullable fields as NULL?
|