Package com.ibm.websphere.rsadapter
Class Sybase11DataStoreHelper
java.lang.Object
com.ibm.websphere.rsadapter.GenericDataStoreHelper
com.ibm.websphere.rsadapter.SybaseDataStoreHelper
com.ibm.websphere.rsadapter.Sybase11DataStoreHelper
- All Implemented Interfaces:
DataStoreHelper
Sybase11DataStoreHelper is a DataStoreHelper implementation
customized for Sybase 11.9.2.
It allows for plugging in function specific to Sybase 11.9.2.
When mapping a SQLException, the SQLException mappings from the
SybaseDataStoreHelper are searched first, and subsequently, if no match is
found, the SQLException mappings from the GenericDataStoreHelper
are searched.
If you have additional requirements on Sybase 11.9.2, you should consider subclassing this
implementation.
Note: This class and its methods can not be called or referenced directly by user applications.
-
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
ConstructorsConstructorDescriptionThisSybase11DataStoreHelperconstructor creates a newSybase11DataStoreHelperbased on theDataStoreHelperproperties provided. -
Method Summary
Modifier and TypeMethodDescriptionintgetIsolationLevel(AccessIntent intent) This method determines the transaction isolation level to use as default for the database backend.intgetLockType(AccessIntent intent) This method is unused in Liberty.Methods inherited from class com.ibm.websphere.rsadapter.SybaseDataStoreHelper
doConnectionCleanup, doConnectionSetup, doStatementCleanup, findMappingClass, getPrintWriter, setUserDefinedMap, showLockInfoMethods inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
calcPartitionNumber, doConnectionCleanupPerCloseConnection, doConnectionCleanupWithValidCheck, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getResultSetConcurrency, getResultSetType, getXAExceptionContents, hasLostUpdateOrDeadLockOccurred, isBatchUpdateSupportedWithAccessIntent, isConnectionError, isDuplicateKey, isTransientConnectionError, isUnsupported, mapException, modifyXAFlag, setConfig
-
Constructor Details
-
Sybase11DataStoreHelper
ThisSybase11DataStoreHelperconstructor creates a newSybase11DataStoreHelperbased 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 Details
-
getIsolationLevel
This method determines the transaction isolation level to use as default for the database backend. The default transaction isolation level forSybase11DataStoreHelperisjava.sql.Connection.TRANSACTION_READ_COMMITTED.- Specified by:
getIsolationLevelin interfaceDataStoreHelper- Overrides:
getIsolationLevelin classSybaseDataStoreHelper- Parameters:
intent- always null in Liberty.- Returns:
- A transaction isolation level.
- Throws:
javax.resource.ResourceException- If a transaction isolation level cannot be determined.
-
getLockType
This method is unused in Liberty.- Specified by:
getLockTypein interfaceDataStoreHelper- Overrides:
getLockTypein classGenericDataStoreHelper
-