com.ibm.websphere.rsadapter
Class OracleDataStoreHelper
- java.lang.Object
-
- com.ibm.websphere.rsadapter.GenericDataStoreHelper
-
- com.ibm.websphere.rsadapter.OracleDataStoreHelper
-
- All Implemented Interfaces:
- DataStoreHelper
- Direct Known Subclasses:
- Oracle10gDataStoreHelper
Deprecated.This class will be removed in a future release. Do not use this class. If you have additional requirements on Oracle you should consider subclassingOracle11gDataStoreHelper.
@Deprecated public class OracleDataStoreHelper extends GenericDataStoreHelper
-
-
Field Summary
-
Fields inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
customDefinedWasDefaultIsoLevel, defaultQueryTimeout, EOLN, genErrorMap, resBundle, tranErrorList
-
Fields inherited from interface com.ibm.websphere.rsadapter.DataStoreHelper
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 Summary
Constructors Constructor and Description OracleDataStoreHelper(java.util.Properties props)Deprecated.Do not use this class.
-
Method Summary
Methods Modifier and Type Method and Description booleandoConnectionCleanup(java.sql.Connection conn)Deprecated.Do not use methods in this class.booleandoConnectionCleanupWithValidCheck(java.sql.Connection conn)Deprecated.voiddoStatementCleanup(java.sql.PreparedStatement stmt)Deprecated.Do not use methods in this class.java.lang.ClassfindMappingClass(java.sql.SQLException e)Deprecated.Do not use methods in this class.intgetIsolationLevel(AccessIntent intent)Deprecated.Do not use methods in this class.intgetLockType(AccessIntent intent)Deprecated.Do not use methods in this class.intgetResultSetConcurrency(AccessIntent intent)Deprecated.Do not use methods in this class.java.lang.StringgetXAExceptionContents(javax.transaction.xa.XAException xae)Deprecated.Do not use methods in this class.java.lang.StringhasLostUpdateOrDeadLockOccurred(int isoLevel, boolean loadedForUpdate)Deprecated.Do not use methods in this class.booleanisBatchUpdateSupportedWithAccessIntent(AccessIntent accessIntent)Deprecated.Do not use methods in this class.intmodifyXAFlag(int xaflag)Deprecated.Do not use methods in this class.java.lang.StringshowLockInfo(java.util.Properties props)Deprecated.Do not use methods in this class.-
Methods inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
calcPartitionNumber, doConnectionCleanupPerCloseConnection, doConnectionSetup, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getPrintWriter, getResultSetType, isConnectionError, isDuplicateKey, isTransientConnectionError, mapException, setConfig, setUserDefinedMap
-
-
-
-
Constructor Detail
-
OracleDataStoreHelper
@Deprecated public OracleDataStoreHelper(java.util.Properties props)
Deprecated. Do not use this class.SeeOracle11gDataStoreHelper.
-
-
Method Detail
-
doStatementCleanup
@Deprecated public void doStatementCleanup(java.sql.PreparedStatement stmt) throws java.sql.SQLExceptionDeprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
doStatementCleanupin interfaceDataStoreHelper- Overrides:
doStatementCleanupin classGenericDataStoreHelper- Parameters:
stmt- the PreparedStatement.- Throws:
java.sql.SQLException- if an error occurs cleaning up the statement.
-
doConnectionCleanup
@Deprecated public boolean doConnectionCleanup(java.sql.Connection conn) throws java.sql.SQLExceptionDeprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
doConnectionCleanupin interfaceDataStoreHelper- Overrides:
doConnectionCleanupin classGenericDataStoreHelper- Parameters:
conn- the connection to attempt to cleanup.- Returns:
- true if any standard connection property was modified, otherwise false.
- Throws:
java.sql.SQLException- If an error occurs while cleaning up the connection.
-
doConnectionCleanupWithValidCheck
public boolean doConnectionCleanupWithValidCheck(java.sql.Connection conn) throws java.sql.SQLExceptionDeprecated.- Specified by:
doConnectionCleanupWithValidCheckin interfaceDataStoreHelper- Overrides:
doConnectionCleanupWithValidCheckin classGenericDataStoreHelper- Throws:
java.sql.SQLException
-
findMappingClass
@Deprecated public java.lang.Class findMappingClass(java.sql.SQLException e)
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Overrides:
findMappingClassin classGenericDataStoreHelper- Parameters:
e- TheSQLExceptionfor which to locate acom.ibm.websphere.ce.cm.PortableSQLExceptionsubclass.- Returns:
- The
com.ibm.websphere.ce.cm.PortableSQLExceptionsubclass matching theSQLException, or null if no match was found.
-
getIsolationLevel
@Deprecated public int getIsolationLevel(AccessIntent intent) throws javax.resource.ResourceException
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
getIsolationLevelin interfaceDataStoreHelper- Overrides:
getIsolationLevelin classGenericDataStoreHelper- Parameters:
intent- AnAccessIntent- Returns:
- A transaction isolation level appropriate for the specified
AccessIntent. - Throws:
javax.resource.ResourceException- If a transaction isolation level cannot be determined from theAccessIntent.
-
getResultSetConcurrency
@Deprecated public int getResultSetConcurrency(AccessIntent intent) throws javax.resource.ResourceException
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
getResultSetConcurrencyin interfaceDataStoreHelper- Overrides:
getResultSetConcurrencyin classGenericDataStoreHelper- Parameters:
intent- AnAccessIntent.- Returns:
- A result set concurrency constant defined on
java.sql.ResultSet. - Throws:
javax.resource.ResourceException- If a result set concurrency cannot be determined from theAccessIntent.
-
hasLostUpdateOrDeadLockOccurred
@Deprecated public java.lang.String hasLostUpdateOrDeadLockOccurred(int isoLevel, boolean loadedForUpdate)Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
hasLostUpdateOrDeadLockOccurredin interfaceDataStoreHelper- Overrides:
hasLostUpdateOrDeadLockOccurredin classGenericDataStoreHelper- Parameters:
isoLevel- the transaction isolation level used.loadedForUpdate-trueif the CMP EntityBean was loaded for update (eg. FOR UPDATE keywords used on SELECT), otherwise false.- Returns:
- One of the following
-
showLockInfo
@Deprecated public java.lang.String showLockInfo(java.util.Properties props) throws java.lang.ExceptionDeprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Overrides:
showLockInfoin classGenericDataStoreHelper- Parameters:
props- properties containing information needed to connect to the database.- Returns:
- the lock information.
- Throws:
java.lang.Exception- if an error occurs while collecting the lock information.
-
getLockType
@Deprecated public int getLockType(AccessIntent intent)
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
getLockTypein interfaceDataStoreHelper- Overrides:
getLockTypein classGenericDataStoreHelper- Parameters:
intent- AnAccessIntent- Returns:
- the lock type constant. Valid values are defined in
com.ibm.websphere.rsadapter.WSInteractionSpec:LOCKTYPE_SELECTLOCKTYPE_SELECT_FOR_UPDATELOCKTYPE_SELECT_FOR_UPDATE_WITH_RSLOCKTYPE_SELECT_FOR_UPDATE_WITH_RR
-
getXAExceptionContents
@Deprecated public java.lang.String getXAExceptionContents(javax.transaction.xa.XAException xae)
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
getXAExceptionContentsin interfaceDataStoreHelper- Overrides:
getXAExceptionContentsin classGenericDataStoreHelper- Parameters:
xae- theXAException.- Returns:
- detailed information about the
XAException, for inclusion in a WebSphere trace.
-
modifyXAFlag
@Deprecated public int modifyXAFlag(int xaflag)
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
modifyXAFlagin interfaceDataStoreHelper- Overrides:
modifyXAFlagin classGenericDataStoreHelper- Parameters:
xaflag- The XA start flag to modify.- Returns:
- The modified XA start flag.
-
isBatchUpdateSupportedWithAccessIntent
@Deprecated public boolean isBatchUpdateSupportedWithAccessIntent(AccessIntent accessIntent)
Deprecated. Do not use methods in this class.SeeOracle11gDataStoreHelper.- Specified by:
isBatchUpdateSupportedWithAccessIntentin interfaceDataStoreHelper- Overrides:
isBatchUpdateSupportedWithAccessIntentin classGenericDataStoreHelper- Parameters:
accessIntent- AccessIntent- Returns:
- boolean true if batching is allowed with the given AccessIntent, otherwise false.
-
-