could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
原因:实体类中设置类主键自增,但是在数据库中没有
解决:alter table gsms_moticket modify id integer auto_increment
could not execute statement; nested exception is org.hibernate.exception.GenericJDBCException: could not execute statement
原因:实体类中设置类主键自增,但是在数据库中没有
解决:alter table gsms_moticket modify id integer auto_increment