谁能帮我看看呀!!!!
Hibernate: insert into person (account, upassword, uname, uage, email, qq, msn, intrduce, birthday, sex, reg_Date, grade) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
org.hibernate.exception.GenericJDBCException: could not insert: [com.june.beans.Person]
我在数据库的日志中找到这样一句(我用的是MySQL数据库):
insert into person (account, upassword, uname, uage, email, qq, msn, intrduce, birthday, sex, reg_Date, grade) values ('lj1987104', '123456', 'JuneLiu', 21,
'lj1987104@163.com', '', '', '', '1987-10-04 00:00:00', 'boy', '2008-05-03 21:02:02', 1);
这个Sql语句我单独执行 却可以通过 !!!就是Hibernate执行通不过
那个牛X人 能告诉我吗!!!!!