Oracle11gDataStoreHelper
.@Deprecated public class OracleDataStoreHelper extends GenericDataStoreHelper
customDefinedWasDefaultIsoLevel, defaultQueryTimeout, EOLN, genErrorMap, resBundle, tranErrorList
CLOUDSCAPE_HELPER, CLOUDSCAPE_NETWORK_SERVER_HELPER, CONNECTJDBC_HELPER, CUSTOM_HELPER, DATADIRECT_HELPER, DB2_390_HELPER, DB2_390_LOCAL_HELPER, DB2_400_HELPER, DB2_HELPER, DB2_UNIVERSAL_HELPER, DERBY_HELPER, DERBY_NETWORK_SERVER_HELPER, FIRST_TIME_CALLED, GENERIC_HELPER, INFORMIX_HELPER, INFORMIX_JCC_HELPER, MSSQL_HELPER, ORACLE_10G_HELPER, ORACLE_11G_HELPER, ORACLE_HELPER, POTENTIAL_DEADLOCK, POTENTIAL_LOST_UPDATE, PROXY_DS_HELPER, SEQUELINK_HELPER, SUBJECT, SYBASE_HELPER, SYBASE11_HELPER, TX_REPEATABLE_READ_FORUPDATE, TX_SERIALIZABLE_FORUPDATE, UNDEFINED_HELPER, UNDEFINED_ISOLATOIN_LEVEL, UPDATE_ON_READONLY
Constructor and Description |
---|
OracleDataStoreHelper(java.util.Properties props)
Deprecated.
Do not use this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doConnectionCleanup(java.sql.Connection conn)
Deprecated.
Do not use methods in this class.
|
boolean |
doConnectionCleanupWithValidCheck(java.sql.Connection conn)
Deprecated.
|
void |
doStatementCleanup(java.sql.PreparedStatement stmt)
Deprecated.
Do not use methods in this class.
|
java.lang.Class |
findMappingClass(java.sql.SQLException e)
Deprecated.
Do not use methods in this class.
|
int |
getIsolationLevel(AccessIntent intent)
Deprecated.
Do not use methods in this class.
|
int |
getLockType(AccessIntent intent)
Deprecated.
Do not use methods in this class.
|
int |
getResultSetConcurrency(AccessIntent intent)
Deprecated.
Do not use methods in this class.
|
java.lang.String |
getXAExceptionContents(javax.transaction.xa.XAException xae)
Deprecated.
Do not use methods in this class.
|
java.lang.String |
hasLostUpdateOrDeadLockOccurred(int isoLevel,
boolean loadedForUpdate)
Deprecated.
Do not use methods in this class.
|
boolean |
isBatchUpdateSupportedWithAccessIntent(AccessIntent accessIntent)
Deprecated.
Do not use methods in this class.
|
int |
modifyXAFlag(int xaflag)
Deprecated.
Do not use methods in this class.
|
java.lang.String |
showLockInfo(java.util.Properties props)
Deprecated.
Do not use methods in this class.
|
calcPartitionNumber, doConnectionCleanupPerCloseConnection, doConnectionSetup, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getPrintWriter, getResultSetType, isConnectionError, isDuplicateKey, isTransientConnectionError, isUnsupported, mapException, setConfig, setUserDefinedMap
@Deprecated public OracleDataStoreHelper(java.util.Properties props)
Oracle11gDataStoreHelper
.@Deprecated public void doStatementCleanup(java.sql.PreparedStatement stmt) throws java.sql.SQLException
Oracle11gDataStoreHelper
.doStatementCleanup
in interface DataStoreHelper
doStatementCleanup
in class GenericDataStoreHelper
stmt
- the PreparedStatement.java.sql.SQLException
- if an error occurs cleaning up the statement.@Deprecated public boolean doConnectionCleanup(java.sql.Connection conn) throws java.sql.SQLException
Oracle11gDataStoreHelper
.doConnectionCleanup
in interface DataStoreHelper
doConnectionCleanup
in class GenericDataStoreHelper
conn
- the connection to attempt to cleanup.java.sql.SQLException
- If an error occurs while cleaning up the connection.public boolean doConnectionCleanupWithValidCheck(java.sql.Connection conn) throws java.sql.SQLException
doConnectionCleanupWithValidCheck
in interface DataStoreHelper
doConnectionCleanupWithValidCheck
in class GenericDataStoreHelper
java.sql.SQLException
@Deprecated public java.lang.Class findMappingClass(java.sql.SQLException e)
Oracle11gDataStoreHelper
.findMappingClass
in class GenericDataStoreHelper
e
- The SQLException
for which to locate a
com.ibm.websphere.ce.cm.PortableSQLException
subclass.com.ibm.websphere.ce.cm.PortableSQLException
subclass matching
the SQLException
, or null if no match was found.@Deprecated public int getIsolationLevel(AccessIntent intent) throws javax.resource.ResourceException
Oracle11gDataStoreHelper
.getIsolationLevel
in interface DataStoreHelper
getIsolationLevel
in class GenericDataStoreHelper
intent
- An AccessIntent
AccessIntent
.javax.resource.ResourceException
- If a transaction isolation level cannot be determined
from the AccessIntent
.@Deprecated public int getResultSetConcurrency(AccessIntent intent) throws javax.resource.ResourceException
Oracle11gDataStoreHelper
.getResultSetConcurrency
in interface DataStoreHelper
getResultSetConcurrency
in class GenericDataStoreHelper
intent
- An AccessIntent
.java.sql.ResultSet
.javax.resource.ResourceException
- If a result set concurrency cannot be determined
from the AccessIntent
.@Deprecated public java.lang.String hasLostUpdateOrDeadLockOccurred(int isoLevel, boolean loadedForUpdate)
Oracle11gDataStoreHelper
.hasLostUpdateOrDeadLockOccurred
in interface DataStoreHelper
hasLostUpdateOrDeadLockOccurred
in class GenericDataStoreHelper
isoLevel
- the transaction isolation level used.loadedForUpdate
- true
if the CMP EntityBean
was loaded for update (eg. FOR UPDATE keywords used on SELECT),
otherwise false.@Deprecated public java.lang.String showLockInfo(java.util.Properties props) throws java.lang.Exception
Oracle11gDataStoreHelper
.showLockInfo
in class GenericDataStoreHelper
props
- properties containing information needed to connect to the database.java.lang.Exception
- if an error occurs while collecting the lock information.@Deprecated public int getLockType(AccessIntent intent)
Oracle11gDataStoreHelper
.getLockType
in interface DataStoreHelper
getLockType
in class GenericDataStoreHelper
intent
- An AccessIntent
com.ibm.websphere.rsadapter.WSInteractionSpec
:
LOCKTYPE_SELECT
LOCKTYPE_SELECT_FOR_UPDATE
LOCKTYPE_SELECT_FOR_UPDATE_WITH_RS
LOCKTYPE_SELECT_FOR_UPDATE_WITH_RR
@Deprecated public java.lang.String getXAExceptionContents(javax.transaction.xa.XAException xae)
Oracle11gDataStoreHelper
.getXAExceptionContents
in interface DataStoreHelper
getXAExceptionContents
in class GenericDataStoreHelper
xae
- the XAException
.XAException
, for inclusion in
a WebSphere trace.@Deprecated public int modifyXAFlag(int xaflag)
Oracle11gDataStoreHelper
.modifyXAFlag
in interface DataStoreHelper
modifyXAFlag
in class GenericDataStoreHelper
xaflag
- The XA start flag to modify.@Deprecated public boolean isBatchUpdateSupportedWithAccessIntent(AccessIntent accessIntent)
Oracle11gDataStoreHelper
.isBatchUpdateSupportedWithAccessIntent
in interface DataStoreHelper
isBatchUpdateSupportedWithAccessIntent
in class GenericDataStoreHelper
accessIntent
- AccessIntent