您的位置:首页 > 编程语言 > Java开发

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中属性的类型与数据库表中对应字段的类型不相符
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  play 数据库 sql bean