com.ibm.websphere.rsadapter
Class SequeLinkDataStoreHelper

java.lang.Object
  |
  +--com.ibm.websphere.rsadapter.GenericDataStoreHelper
        |
        +--com.ibm.websphere.rsadapter.DataDirectDataStoreHelper
              |
              +--com.ibm.websphere.rsadapter.SequeLinkDataStoreHelper
All Implemented Interfaces:
DataStoreHelper, java.io.Serializable

public class SequeLinkDataStoreHelper
extends DataDirectDataStoreHelper
implements java.io.Serializable

SequeLinkDataStoreHelper - this is an class is used for the SequeLink (aka DataDirectType3 driver)

See Also:
Serialized Form

Fields inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
EOLN, genErrorMap, resBundle
 
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, GENERIC_HELPER, INFORMIX_HELPER, MSSQL_HELPER, ORACLE_HELPER, POTENTIAL_DEADLOCK, POTENTIAL_LOST_UPDATE, SEQUELINK_HELPER, SYBASE_HELPER, SYBASE11_HELPER, TX_REPEATABLE_READ_FORUPDATE, TX_SERIALIZABLE_FORUPDATE, UPDATE_ON_READONLY, WSCONNECTJDBC_HELPER
 
Constructor Summary
SequeLinkDataStoreHelper(java.util.Properties props)
           
 
Method Summary
 void doConnectionSetup(java.sql.Connection conn)
          The purpose of this method it to allow the DSH to decide what type of configuration may need to happen on a connection before we create a ManagedConnection and pass in the SQLConnection.
 void doStatementCleanup(java.sql.PreparedStatement stmt)
          Clean up a statement before it is placed in the cache.
 int getResultSetConcurrency(com.ibm.websphere.appprofile.accessintent.AccessIntent intent)
          This method returns the correspondent resultSet concurrency giving the Intent Object.
 
Methods inherited from class com.ibm.websphere.rsadapter.DataDirectDataStoreHelper
findMappingClass, getIsolationLevel, getPrintWriter, isDataDirectExp, setUserDefinedMap, showLockInfo
 
Methods inherited from class com.ibm.websphere.rsadapter.GenericDataStoreHelper
calcPartitionNumber, doConnectionCleanup, getLockType, getMetaData, getResultSetType, getXAExceptionContents, hasLostUpdateOrDeadLockOccurred, isBatchUpdateSupportedWithAccessIntent, isConnectionError, mapException, mapException, modifyXAFlag, processGenericCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequeLinkDataStoreHelper

public SequeLinkDataStoreHelper(java.util.Properties props)
Method Detail

doConnectionSetup

public void doConnectionSetup(java.sql.Connection conn)
                       throws java.sql.SQLException
The purpose of this method it to allow the DSH to decide what type of configuration may need to happen on a connection before we create a ManagedConnection and pass in the SQLConnection. Note this only happens during creation of a new MC. In here we also do something extra, after doing the specific settings for sequeLink, the method calls doConnectionSetup for the helper it contains ( e.g. MSSQL)
Overrides:
doConnectionSetup in class DataDirectDataStoreHelper
Following copied from class: com.ibm.websphere.rsadapter.DataDirectDataStoreHelper
Parameters:
conn -  
Throws:
java.sql.SQLException -  

doStatementCleanup

public void doStatementCleanup(java.sql.PreparedStatement stmt)
                        throws java.sql.SQLException
Clean up a statement before it is placed in the cache. This method is called only for statements which are being cached. It is called only if certain statement properties have changed. See DataStoreHelper.
Overrides:
doStatementCleanup in class GenericDataStoreHelper
Parameters:
stmt - the PreparedStatement.
Throws:
java.sql.SQLException - if an error occurs cleaning up the statement.

getResultSetConcurrency

public int getResultSetConcurrency(com.ibm.websphere.appprofile.accessintent.AccessIntent intent)
                            throws javax.resource.ResourceException
This method returns the correspondent resultSet concurrency giving the Intent Object. If the intent Object passed is null, then JDBC default (CONCUR_READ_ONLY) is returned If this value is not desired one could override it in a subclass.
Overrides:
getResultSetConcurrency in class GenericDataStoreHelper
Parameters:
intent -  
Returns:
A correspondent resultSet concurrency.
See Also:
AccessIntent