开发者

JPA\Hibernate database restart problem

开发者 https://www.devze.com 2023-04-07 16:50 出处:网络
After database restart EntityManagerFactory\'s connection become invalid(persistence exception : broken pipe ) .I try to set properties onpersistence.xml to solve problem butit is not worked.How can i

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

精彩评论

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