|
at.glawar GlawarDataAdapter [2006-07-04] |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.glawar.gladataadapter.GLAOracleDataAdapter
Provides methods for creating a database connection to an Oracle database.
An jdbc driver is needed
(Oracle_9i_R1_JDBC_for_JDK_1_4.jar).
| Constructor Summary | |
GLAOracleDataAdapter(String strHost,
String strPort,
String strDBName,
String strUser,
String strPassword,
String strMaxPooledConnections,
String strCacheTimeToLiveTimeout,
String strCacheInactivityTimeout,
String strThreadWakeUpInterval,
String strLoginTimeout)
Initializes a new instance of GLAOracleDataAdapter. |
|
GLAOracleDataAdapter(String strHost,
String strPort,
String strDBName,
String strUser,
String strPassword,
String strMaxPooledConnections,
String strCacheTimeToLiveTimeout,
String strCacheInactivityTimeout,
String strThreadWakeUpInterval,
String strLoginTimeout,
boolean useConnectionPool)
Initializes a new instance of GLAOracleDataAdapter. |
|
| Method Summary | |
Connection |
getConnection()
Gets an actual connection to the Oracle database. |
Connection |
getNotPooledConnection()
return unpooled connection. |
Connection |
getPooledConnection()
return a pooled connection. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GLAOracleDataAdapter(String strHost,
String strPort,
String strDBName,
String strUser,
String strPassword,
String strMaxPooledConnections,
String strCacheTimeToLiveTimeout,
String strCacheInactivityTimeout,
String strThreadWakeUpInterval,
String strLoginTimeout,
boolean useConnectionPool)
throws SQLException
Initializes a new instance of GLAOracleDataAdapter.
strHost - hostnamestrPort - portstrDBName - name of dbstrUser - usernamestrPassword - passwordstrMaxPooledConnections - max pooled connection which can either be
null or containing a valid integer-valuestrCacheTimeToLiveTimeout - CacheTimeToLiveTimeout standard is 20strCacheInactivityTimeout - standard is 30strThreadWakeUpInterval - standard is 10strLoginTimeout - standard is 3useConnectionPool - set this parameter to true if you
want to use connection pooling
SQLException - if an error occured
public GLAOracleDataAdapter(String strHost,
String strPort,
String strDBName,
String strUser,
String strPassword,
String strMaxPooledConnections,
String strCacheTimeToLiveTimeout,
String strCacheInactivityTimeout,
String strThreadWakeUpInterval,
String strLoginTimeout)
throws SQLException
Initializes a new instance of GLAOracleDataAdapter.
connection pooling is activated.
strHost - hostnamestrPort - portstrDBName - name of dbstrUser - usernamestrPassword - passwordstrMaxPooledConnections - max pooled connection which can either be
null or containing a valid integer-valuestrCacheTimeToLiveTimeout - CacheTimeToLiveTimeout standard is 20strCacheInactivityTimeout - standard is 30strThreadWakeUpInterval - standard is 10strLoginTimeout - standard is 3
SQLException - if an error occured| Method Detail |
public Connection getConnection()
Gets an actual connection to the Oracle database.
if m_isPooled is set to true which means you
want to use pooled connection and if no pooled connection is available
an unpooled connection will be returned.
public Connection getPooledConnection()
return a pooled connection.
public Connection getNotPooledConnection()
return unpooled connection.
|
software.glawar.at | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||