posted 16 years ago
Hello Friends,
I want to close the db connection after 'n' seconds of idle time.
In my hibernate config file, I'm getting the datasource reference fom JNDI.
Is it possible to set connection timeout value?
It looks like C3P0 connection pool implementation allows use to set the connection timeout?
Can i use both? i.e App server connection pool (datasource from JNDI) and C3P0 connection ppol mechanism?
(It is web app runs on App server.)
Please provide some pointers... Thanks in Advance!..