com.ibm.websphere.rsadapter

Class DB2390DataStoreHelper

  • All Implemented Interfaces:
    DataStoreHelper
    Direct Known Subclasses:
    DB2390LocalDataStoreHelper

    Deprecated. 
    - Please use the DB2DataStoreHelper or DB2UniversalDataStoreHelper class instead of this class. 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.
    Note: This class and its methods can not be called or referenced directly by user applications.

    public class DB2390DataStoreHelper
    extends DB2DataStoreHelper
    • Constructor Detail

      • DB2390DataStoreHelper

        public DB2390DataStoreHelper(java.util.Properties props)
        Deprecated. 
        This 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.
        Parameters:
        props - DataStoreHelper properties.
    • 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 SELECT statement.

        Specified by:
        getLockType in interface DataStoreHelper
        Overrides:
        getLockType in class DB2DataStoreHelper
        Parameters:
        intent - An AccessIntent
        Returns:
        the lock type constant. Valid values are defined in com.ibm.websphere.rsadaper.WSInteractionSpec:
        • LOCKTYPE_SELECT
        • LOCKTYPE_SELECT_FOR_UPDATE
        • LOCKTYPE_SELECT_FOR_UPDATE_WITH_RS
        • LOCKTYPE_SELECT_FOR_UPDATE_WITH_RR
        See Also:
        AccessIntent, WSInteractionSpec
IBM WebSphere Application ServerTM
Release 8.5