public class OracleProxyDBManager extends DBManager
Modifier and Type | Field and Description |
---|---|
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.
|
FASTFORWARD, FORWARDONLY, refQue, SCROLLINSENSITIVE, SCROLLSENSITIVE, SCROLLSENSITIVEONE, ssPropLoaded, stmtQueue
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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.
|
cleanupStatementQueue, finalization, finalization, flushFreeConnections, 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, sqlTableScanExclude
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)
DBManager
public 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 DBManager
public 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 DBManager
public DBCredentialHandler getCredentialHandler()
getCredentialHandler
in class DBManager