KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > sql > ConnectionPoolDataSource

javax.sql
Interface ConnectionPoolDataSource

See Also:
Top Examples, Source Code

int getLoginTimeout()
                    throws SQLException
See Also:
setLoginTimeout(int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


PrintWriter getLogWriter()
                         throws SQLException
See Also:
setLogWriter(java.io.PrintWriter)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


PooledConnection getPooledConnection()
                                     throws SQLException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


PooledConnection getPooledConnection(String user,
                                     String password)
                                     throws SQLException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[110]Create pooled db connection
By Anonymous on 2002/10/24 09:30:45  Rate
Context ctx = new InitialContext (  ) ;  
 ConnectionPoolDataSource ds =  ( ConnectionPoolDataSource ) ctx.lookup ( "jdbc/MyDB" ) ;  
 pooledConnection pcon = ds.getPooledConnection ( "myUser", "myPassword" ) ;  
 


void setLoginTimeout(int seconds)
                     throws SQLException
See Also:
getLoginTimeout()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


void setLogWriter(PrintWriter out)
                  throws SQLException
See Also:
getLogWriter()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags