You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by "Mudumbai, Kalyan" <Ka...@gs.com> on 2005/01/12 20:00:43 UTC

Initialize Connection with a query

Hi,

I would like to initialize the connections in my connection pool with an sql
statements (that creates temporary tables), so that whenever a connection is
requested, the temp table definitions are already present in it. I have
looked at the configuration parameters, and I couldn't find anything that
makes use of a given SQL for initializing all the connections in the
connection pool, once they are created.

How can I achieve this? 

Thanks,
Kalyan.