|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.rsadapter.GenericDataStoreHelper
com.ibm.websphere.rsadapter.DB2DataStoreHelper
com.ibm.websphere.rsadapter.DB2390DataStoreHelper
DB2390DataStoreHelper
is a DataStoreHelper
implementation
customized for the DB2 database running on z/OS.
When mapping a SQLException
, the SQLException
mappings from the
DB2DataStoreHelper
are searched first, and subsequently, if no match is
found, the SQLException
mappings from the GenericDataStoreHelper
are searched. If you have additional requirements for DB2 on z/OS, you should consider
subclassing this implementation.
public class DB2390DataStoreHelper
Field Summary |
---|
Fields inherited from class com.ibm.websphere.rsadapter.DB2DataStoreHelper |
---|
db2Tc |
Fields inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper |
---|
customDefinedWasDefaultIsoLevel, EOLN, genErrorMap, resBundle |
Constructor Summary | |
---|---|
DB2390DataStoreHelper(java.util.Properties props)
Deprecated. This DB2390DataStoreHelper constructor creates a new
DB2390DataStoreHelper based on the DataStoreHelper
properties provided. |
Method Summary | |
---|---|
int |
getLockType(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, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getResultSetType, hasLostUpdateOrDeadLockOccurred, isConnectionError, isDuplicateKey, mapException, modifyXAFlag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DB2390DataStoreHelper(java.util.Properties props)
DB2390DataStoreHelper
constructor creates a new
DB2390DataStoreHelper
based on the DataStoreHelper
properties 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.
props
- DataStoreHelper
properties.Method Detail |
---|
public int getLockType(AccessIntent intent)
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 SELECT
statement.
getLockType
in interface DataStoreHelper
getLockType
in class DB2DataStoreHelper
intent
- An AccessIntent
com.ibm.websphere.rsadaper.WSInteractionSpec
:
LOCKTYPE_SELECT
LOCKTYPE_SELECT_FOR_UPDATE
LOCKTYPE_SELECT_FOR_UPDATE_WITH_RS
LOCKTYPE_SELECT_FOR_UPDATE_WITH_RR
AccessIntent
,
WSInteractionSpec
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |