问题描述:
13:31:07,645 WARN JDBCExceptionReporter:233 - SQL Error: 0, SQLState: 22001
13:31:07,646 ERROR JDBCExceptionReporter:234 - Data truncation: Incorrect datetime value: '' for column 'ordertime' at row 1
Caused by: org.hibernate.exception.DataException: could not insert:
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: '' for column 'ordertime' at row 1
我的环境:win764、eclipse10、jdk1.7、MySQL5.6.17
</