1)Hibernate operation: could not execute query; bad SQL grammar [select from]
原因: 缺少配置文件
2)org.hibernate.exception.GenericJDBCException: could not insert:
Caused by: org.springframework.dao.DataIntegrityViolationException
可能引起的原因:表字段长度太短
1)Hibernate operation: could not execute query; bad SQL grammar [select from]
原因: 缺少配置文件
2)org.hibernate.exception.GenericJDBCException: could not insert:
Caused by: org.springframework.dao.DataIntegrityViolationException
可能引起的原因:表字段长度太短