|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.websphere.rsadapter.GenericDataStoreHelper | +--com.ibm.websphere.rsadapter.DataDirectDataStoreHelper | +--com.ibm.websphere.rsadapter.ConnectJDBCDataStoreHelper | +--com.ibm.websphere.rsadapter.WSConnectJDBCDataStoreHelper
This is a helper class customized for the Microsoft branded ConnectJDBC (Type IV) driver for the SQLServer database. It allows us to plug in data store specific functions. When trying to map an exception, the ConnectJDBC errormap will be searched first then the generic one will be searched.
If you have any special ConnectJDBC requirements, you might want to look into extending this class and overwriting the methods you wish to change.
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 | |
---|---|
WSConnectJDBCDataStoreHelper(java.util.Properties props)
Constructor, the property is passed in case some info is needed in the future, for now this parameter is not used. |
Method Summary | |
---|---|
void |
doConnectionSetup(java.sql.Connection conn)
This method allows the DataStoreHelper to set any connection properties that are not specified in the default configuration. |
Methods inherited from class com.ibm.websphere.rsadapter.ConnectJDBCDataStoreHelper |
---|
doStatementCleanup |
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, getResultSetConcurrency, 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 |
public WSConnectJDBCDataStoreHelper(java.util.Properties props)
props
- not needed here, entry will be ignoredMethod Detail |
public void doConnectionSetup(java.sql.Connection conn) throws java.sql.SQLException
doConnectionSetup
in class DataDirectDataStoreHelper
conn
- The connection object on which the property is to be set.java.sql.SQLException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |