com.ibm.websphere.rsadapter
Class DB2390DataStoreHelper
- java.lang.Object
-
- com.ibm.websphere.rsadapter.GenericDataStoreHelper
-
- com.ibm.websphere.rsadapter.DB2DataStoreHelper
-
- com.ibm.websphere.rsadapter.DB2390DataStoreHelper
-
- All Implemented Interfaces:
- DataStoreHelper
- Direct Known Subclasses:
- DB2390LocalDataStoreHelper
Deprecated.- Please use the DB2DataStoreHelper or DB2UniversalDataStoreHelper class instead of this class.DB2390DataStoreHelperis aDataStoreHelperimplementation customized for the DB2 database running on z/OS. When mapping aSQLException, theSQLExceptionmappings from theDB2DataStoreHelperare searched first, and subsequently, if no match is found, theSQLExceptionmappings from theGenericDataStoreHelperare searched. If you have additional requirements for DB2 on z/OS, you should consider subclassing this implementation.
Note: This class and its methods can not be called or referenced directly by user applications.
public class DB2390DataStoreHelper extends DB2DataStoreHelper
-
-
Field Summary
-
Fields inherited from class com.ibm.websphere.rsadapter.DB2DataStoreHelper
db2Tc
-
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 DB2390DataStoreHelper(java.util.Properties props)Deprecated.ThisDB2390DataStoreHelperconstructor creates a newDB2390DataStoreHelperbased on theDataStoreHelperproperties provided.
-
Method Summary
Methods Modifier and Type Method and Description intgetLockType(AccessIntent intent)Deprecated.This method returns a lock type constant based on the update hint value of the specified AccessIntent.-
Methods inherited from class com.ibm.websphere.rsadapter.DB2DataStoreHelper
doConnectionSetup, doStatementCleanup, findMappingClass, getIsolationLevel, getPrintWriter, getResultSetConcurrency, getXAExceptionContents, isBatchUpdateSupportedWithAccessIntent, setUserDefinedMap, showLockInfo
-
Methods inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
calcPartitionNumber, doConnectionCleanup, doConnectionCleanupPerCloseConnection, doConnectionCleanupWithValidCheck, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getResultSetType, hasLostUpdateOrDeadLockOccurred, isConnectionError, isDuplicateKey, isTransientConnectionError, mapException, modifyXAFlag, setConfig
-
-
-
-
Constructor Detail
-
DB2390DataStoreHelper
public DB2390DataStoreHelper(java.util.Properties props)
Deprecated.ThisDB2390DataStoreHelperconstructor creates a newDB2390DataStoreHelperbased on theDataStoreHelperproperties provided. All implementations inheriting from a data store helper must supply this same list of properties to their super class by invoking the constructor of their super class with the list of properties.- Parameters:
props-DataStoreHelperproperties.
-
-
Method Detail
-
getLockType
public int getLockType(AccessIntent intent)
Deprecated.This method returns a lock type constant based on the update hint value of the specified AccessIntent. The lock type is used by the persistence manager to determine which locking hints should be used on a
SELECTstatement.- Specified by:
getLockTypein interfaceDataStoreHelper- Overrides:
getLockTypein classDB2DataStoreHelper- Parameters:
intent- AnAccessIntent- Returns:
- the lock type constant. Valid values are defined in
com.ibm.websphere.rsadaper.WSInteractionSpec:LOCKTYPE_SELECTLOCKTYPE_SELECT_FOR_UPDATELOCKTYPE_SELECT_FOR_UPDATE_WITH_RSLOCKTYPE_SELECT_FOR_UPDATE_WITH_RR
- See Also:
AccessIntent,WSInteractionSpec
-
-