This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have defined a datasource to connect to Sybase DB. I need to run an authentication statement (SET TEMPORARY OPTION CONNECTION_AUTHENTICATION=....) after connection to keep the connection alive, else DB server will drop the connection after 10 seconds.
Is there a way to specify to run this in the connection parameters (DBCP params) so that all the connection in the pool have this authentication statement executed.