User[id=null,type=1,name=aa,code=123456789,company=aaa,tel=13811111,ip=127.0.0.1,insert_time=1415424295191,check_time=null,password=123,check=0]Hibernate:insertintotb_use...
User [id=null, type=1, name=aa, code=123456789, company=aaa, tel=13811111, ip=127.0.0.1, insert_time=1415424295191, check_time=null, password=123, check=0]
Hibernate:
insert
into
tb_user
(type, name, code, company, tel, ip, insert_time, check_time, password, check)
values
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
org.hibernate.exception.SQLGrammarException: could not insert: [com.web.model.User]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:92)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check) values ('1', 'aa', '123456789', 'aaa', '13811111', '127.0.0.1', 141542429' at line 1
展开