cevent.start := Time(“9:30”);

causes


Caused by: java.sql.BatchUpdateException: Data truncation: Incorrect datetime value: ‘09:30:00’ for column ‘_start’ at row 1

Submitted by Eelco Visser on 28 October 2010 at 13:35

On 28 October 2010 at 14:53 Danny Groenewegen commented:

This issue was caused by changing the property type from DateTime to Time, which the hibernate update mode does not support. Fix was to remove the column (alter table _Event drop column _start) and redeploy to regenerate the column, or fix the column type manually.


On 28 October 2010 at 14:53 Danny Groenewegen closed this issue.

Log in to post comments