Play Framework 报错 java.sql.SQLException: Connection is closed!
2015-12-30 09:36
766 查看
Database access problem.
Killing off this connection and all remaining connections in the connection pool. SQL State = HY000
Cannot invoke the action, eventually got an error: javax.persistence.PersistenceException: java.sql.SQLException: Connection is closed!
其中一个可能的原因:bean配置错误,bean中属性的类型与数据库表中对应字段的类型不相符
Killing off this connection and all remaining connections in the connection pool. SQL State = HY000
Cannot invoke the action, eventually got an error: javax.persistence.PersistenceException: java.sql.SQLException: Connection is closed!
其中一个可能的原因:bean配置错误,bean中属性的类型与数据库表中对应字段的类型不相符