Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Connection Pool to Oracle
> We have a data access framework that allows a client
> to create its database connection pool to Oracle with
> JDBC.
>
> Session timeouts defeat the goal of the connection
> pool. How does one keep the connections alive and
> connected to Oracle for say the whole day without
> enumerating through each element and issuing an Oracle
> call?
>
AFAIK WebLogic's JDBC pool does exactly that - probe the connection with a dummy SELECT statement at a specified interval.
When creating a connection pool u could specify "refreshTestMinutes" and "testTable" against which a SELECT count(*) from "testTable" will be executed
hth,
Marin
Herman Hesse, "Siddhartha"Received on Fri Jan 26 2001 - 07:05:36 CST
![]() |
![]() |