This content has been marked as final.
Show 3 replies
-
1. Re: Hibernate Connection Lost
hannes Oct 30, 2006 8:54 AM (in response to luowp)do you use c3p0? you can configure an idle time, so the db server doesn't disconnect from the connection. but it can reconnect too.
-
2. Re: Hibernate Connection Lost
luowp Oct 30, 2006 9:05 AM (in response to luowp)Sorry. I do not know c3p0.
How to reconnect the connection by using jbpm API.?Thanks. -
3. Re: Hibernate Connection Lost
kukeltje Oct 30, 2006 9:17 AM (in response to luowp)You do not reconnect useing the jbpmAPI. Database connections are managed by your connectionpool. For production it is advised to use (and configure) the one that comes with your appserver, for development purposes you could use the c3p0 (look at the hibernate docs for this)