public class OracleProxyDBManager extends DBManager
DBManager.Lock| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
free |
static int |
MODECERTIFICATE |
static int |
MODEDN |
static int |
MODEUSERNAME |
static int |
MODEUSERNAMEPASSWORD |
static java.lang.String |
ORADBPROXYMODE
The attribute name that can be set to MXSession to indicate the database proxy mode for the connecting
user if different than the proxy mode set for the system.
|
connectionKeyMap, connectionPoolThread, db2Version, dbPlatform, dbProductName, dbProductVersion, dbProductVersionMajMin, dbPropPrefix, dbSqlServerDriver, defaultSchemaOwner, disableServerCursor, driver, driverInfoShown, driverString, FASTFORWARD, fetchSize, fetchUse, FORWARDONLY, initialized, isRAC, jdbcCollection, MAX_PING_REQUESTS, MAX_PING_TIMEOUT_MILLISECONDS, maxFreeConnections, minFreeConnections, name, newConnectionCount, pingapiconn, refQue, resultSetType, schemaOwner, SCROLLINSENSITIVE, SCROLLSENSITIVE, SCROLLSENSITIVEONE, sequenceConnection, sslConnection, sslTrustStoreLocation, sslTrustStorePassword, ssPropLoaded, stmtQueue, systemConnection, urlString, usedAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
OracleProxyDBManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(java.util.Properties properties)
configure the DBManager based on the
information in the properties file read in.
|
void |
destroy()
Closes database connections, set's both the used and free vectors to null
|
void |
freeConnectionDetail(ConnectionKey conKey) |
java.sql.Connection |
getConnectionDetail(ConnectionKey conKey)
Get's a connection.
|
DBCredentialHandler |
getCredentialHandler() |
int |
getDBAuthenticationType()
Return the authentication type.
|
oracle.jdbc.pool.OracleOCIConnectionPool |
getNewConnectionPool(java.lang.String url,
java.lang.String userName,
java.lang.String password) |
ConRef |
getProxyConnection(oracle.jdbc.pool.OracleOCIConnectionPool pool,
java.lang.Object certi) |
java.sql.Connection |
getSequenceConnection()
Returns the connection used for generating sequence for sqlserver
This should not be used by any application services
or business objects.
|
java.sql.Connection |
getSystemConnection()
Returns the system connection.
|
boolean |
init()
Loads a driver, and establishes a series of connections with
the specified database.
|
apiPingConnExists, cleanupStatementQueue, finalization, finalization, flushFreeConnections, forceFreeConnection, freeConnection, freeConnection, getConnection, getDatabaseProductName, getDatabaseProductSimpleVersion, getDatabaseProductVersion, getDB2Version, getDBConnFree, getDBConnTotal, getDBConnUsed, getDBPlatform, getDbSqlServerDriver, getLock, getName, getProperties, getReferenceQueue, getSchemaOwner, getSPID, getSQLTimeLimit, getSSCursorType, getSSDisableCursor, getSSFetchSize, getSSFetchUse, getSystemConnectionKey, getTenantUsedConnCount, logSQLPlan, needToLogSQLOnTimeLimit, needToLogSQLPlan, printStackTraceNoMsg, readSQLTimeLimit, reloadDBRefCount, reloadDBRowCount, reloadLogSQLPlan, reloadProperties, reloadSQLScanExclude, reloadSQLTimeLimit, removeApiPingConn, setApiPingConn, setUseStoredOutline, sqlTableScanExcludeprotected java.util.Vector free
public static final int MODEUSERNAME
public static final int MODEUSERNAMEPASSWORD
public static final int MODEDN
public static final int MODECERTIFICATE
public static final java.lang.String ORADBPROXYMODE
public void configure(java.util.Properties properties)
DBManagerpublic boolean init()
public void destroy()
public java.sql.Connection getConnectionDetail(ConnectionKey conKey)
public void freeConnectionDetail(ConnectionKey conKey)
public java.sql.Connection getSystemConnection()
public java.sql.Connection getSequenceConnection()
getSequenceConnection in class DBManagerpublic oracle.jdbc.pool.OracleOCIConnectionPool getNewConnectionPool(java.lang.String url,
java.lang.String userName,
java.lang.String password)
public ConRef getProxyConnection(oracle.jdbc.pool.OracleOCIConnectionPool pool, java.lang.Object certi)
public int getDBAuthenticationType()
getDBAuthenticationType in class DBManagerpublic DBCredentialHandler getCredentialHandler()
getCredentialHandler in class DBManager