Package 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 public class OracleDataStoreHelper extends GenericDataStoreHelper
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
.
-
-
Field Summary
-
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 Description OracleDataStoreHelper(java.util.Properties props)
Deprecated.Do not use this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
doConnectionCleanup(java.sql.Connection conn)
Deprecated.Do not use methods in this class.boolean
doConnectionCleanupWithValidCheck(java.sql.Connection conn)
Deprecated.This method is unused in Liberty.void
doConnectionSetup(java.sql.Connection conn)
Deprecated.This method configures a connection before first use.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
getLockType(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.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.-
Methods inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
calcPartitionNumber, doConnectionCleanupPerCloseConnection, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getIsolationLevel, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getPrintWriter, getResultSetConcurrency, getResultSetType, isBatchUpdateSupportedWithAccessIntent, isConnectionError, isDuplicateKey, isTransientConnectionError, isUnsupported, mapException, setConfig, setUserDefinedMap
-
-
-
-
Method Detail
-
doConnectionSetup
public void doConnectionSetup(java.sql.Connection conn) throws java.sql.SQLException
Deprecated.Description copied from class:GenericDataStoreHelper
This method configures a connection before first use. This method is invoked only when a new connection to the database is created. It is not invoked when connections are reused from the connection pool.
GenericDataStoreHelper
does not perform any connection setup.- Specified by:
doConnectionSetup
in interfaceDataStoreHelper
- Overrides:
doConnectionSetup
in classGenericDataStoreHelper
- Parameters:
conn
- the connection to set up.- Throws:
java.sql.SQLException
- if connection setup cannot be completed successfully.
-
doStatementCleanup
@Deprecated public void doStatementCleanup(java.sql.PreparedStatement stmt) throws java.sql.SQLException
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Specified by:
doStatementCleanup
in interfaceDataStoreHelper
- Overrides:
doStatementCleanup
in 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.SQLException
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Specified by:
doConnectionCleanup
in interfaceDataStoreHelper
- Overrides:
doConnectionCleanup
in 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.SQLException
Deprecated.Description copied from interface:DataStoreHelper
This method is unused in Liberty.- Specified by:
doConnectionCleanupWithValidCheck
in interfaceDataStoreHelper
- Overrides:
doConnectionCleanupWithValidCheck
in 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:
findMappingClass
in classGenericDataStoreHelper
- Parameters:
e
- TheSQLException
for which to locate acom.ibm.websphere.ce.cm.PortableSQLException
subclass.- Returns:
- The
com.ibm.websphere.ce.cm.PortableSQLException
subclass matching theSQLException
, or null if no match was found.
-
hasLostUpdateOrDeadLockOccurred
@Deprecated public java.lang.String hasLostUpdateOrDeadLockOccurred(int isoLevel, boolean loadedForUpdate)
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Specified by:
hasLostUpdateOrDeadLockOccurred
in interfaceDataStoreHelper
- Overrides:
hasLostUpdateOrDeadLockOccurred
in classGenericDataStoreHelper
-
showLockInfo
@Deprecated public java.lang.String showLockInfo(java.util.Properties props) throws java.lang.Exception
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Overrides:
showLockInfo
in 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:
getLockType
in interfaceDataStoreHelper
- Overrides:
getLockType
in classGenericDataStoreHelper
-
getXAExceptionContents
@Deprecated public java.lang.String getXAExceptionContents(javax.transaction.xa.XAException xae)
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Specified by:
getXAExceptionContents
in interfaceDataStoreHelper
- Overrides:
getXAExceptionContents
in classGenericDataStoreHelper
- Parameters:
xae
- theXAException
.- Returns:
- detailed information about the
XAException
, for inclusion in trace.
-
modifyXAFlag
@Deprecated public int modifyXAFlag(int xaflag)
Deprecated.Do not use methods in this class.SeeOracle11gDataStoreHelper
.- Specified by:
modifyXAFlag
in interfaceDataStoreHelper
- Overrides:
modifyXAFlag
in classGenericDataStoreHelper
- Parameters:
xaflag
- The XA start flag to modify.- Returns:
- The modified XA start flag.
-
-