开发者

JPA\Hibernate database restart problem

After database restart EntityManagerFactory's connection become invalid(persistence exception : broken pipe ) .I try to set properties on persistence.xml to solve problem but it is not worked.How can i handle this case .I am using jpa 2 with hi开发者_开发知识库bernate (c3p0 as connection provider)


I hope this SO question helps you : hibernate c3p0 broken pipe

Also this article discussed reconnecting (testing connection) with c3p0

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜