|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ConnectionPool | |
|---|---|
| com.bristle.javalib.sql | |
| com.bristle.javalib.sql.oracle | |
| Uses of ConnectionPool in com.bristle.javalib.sql |
|---|
| Subclasses of ConnectionPool in com.bristle.javalib.sql | |
|---|---|
class |
DummyConnectionPool
This implements dummy ConnectionPool for testing purposes. |
| Methods in com.bristle.javalib.sql that return ConnectionPool | |
|---|---|
ConnectionPool |
ConnectionPoolFinder.find()
Find an existing ConnectionPool, searching first the Session context of the previously specified HttpServletRequest (if any), then the ServletContext (application context) of the servlet associated with that HttpServletRequest (if any), then the ConnectionPool global singleton (if any), returning null if no ConnectionPool is found in any of those places. |
ConnectionPool |
ConnectionPoolUtil.getDefaultConnectionPool()
Get the default ConnectionPool. |
static ConnectionPool |
ConnectionPool.getSingleton()
Get the singleton ConnectionPool, if any. |
| Methods in com.bristle.javalib.sql with parameters of type ConnectionPool | |
|---|---|
static void |
ConnectionPoolUtil.cleanupDBContext(ConnectionPoolUtil.DBContext dbContext,
boolean blnClose,
boolean blnDoneWithConnection,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool)
Cleanup the database objects, optionally closing the database connection. |
static void |
ConnectionPoolUtil.cleanupDBContext(ConnectionPoolUtil.DBContext dbContext,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool)
Cleanup the database objects, leaving the database connection open, and returning it to the connection pool, if any. |
static int |
ConnectionPoolUtil.executeSQL(Connection conn,
String strSQL,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool,
ConnectionPool.DBConfig dbconfig)
Connect to the database, execute a string of SQL, commit, and disconnect. |
static int |
ConnectionPoolUtil.getIntValueFromDB(Connection conn,
String strSQL,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool,
ConnectionPool.DBConfig dbconfig)
Connect to the database, get a single int value from the resultset returned by the specified SQL statement, and disconnect, returning the value. |
static ConnectionPoolUtil.DBContext |
ConnectionPoolUtil.getResultSet(Connection conn,
String strSQL,
int intType,
int intConcurrency,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool,
ConnectionPool.DBConfig dbconfig)
Connect to the database and get the data as a ResultSet with the specified type and concurrency. |
void |
ConnectionPoolFinder.saveAsGlobalSingleton(ConnectionPool pool)
Save the specified ConnectionPool as the ConnectionPool global singleton, to be found by future calls to find(). |
void |
ConnectionPoolFinder.saveInServletContext(ConnectionPool pool)
Save the specified ConnectionPool in the ServletContext to be found by future calls to find(). |
void |
ConnectionPoolFinder.saveInSession(ConnectionPool pool)
Save the specified ConnectionPool in the Session to be found by future calls to find(). |
void |
ConnectionPoolUtil.setDefaultConnectionPool(ConnectionPool poolNew)
Set the default ConnectionPool. |
static void |
ConnectionPool.setSingleton(ConnectionPool pool)
Set the singleton ConnectionPool. |
| Uses of ConnectionPool in com.bristle.javalib.sql.oracle |
|---|
| Methods in com.bristle.javalib.sql.oracle with parameters of type ConnectionPool | |
|---|---|
static ConnectionPoolUtil.DBContext |
OracleConnectionPoolUtil.getResultSetFromOracleFunction(Connection conn,
String strCall,
Logger logger,
int intLogLevelOfOperation,
ConnectionPool pool,
ConnectionPool.DBConfig dbconfig)
Connect to the database and get the data as a readonly forward-only ResultSet by calling an Oracle stored function that returns a ResultSet. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||