Exception in thread "main" org.apache.commons.beanutils.ConversionException: String must be in JDBC format [yyyy-MM-dd HH:mm:ss.fffffffff] to create a java.sql.Timestamp
at org.apache.commons.beanutils.converters.DateTimeConverter.toDate(DateTimeConverter.java:476)
我数据库是datetime类型,但Hibernate生成的实体类是java.sql.Timestamp格式.插入时老是出这个错。请大家帮忙解决下