public class InformixJccDataStoreHelper extends DB2UniversalDataStoreHelper
InformixJccDataStoreHelper
is a DataStoreHelper
implementation
customized for the Informix database when used with the IBM Data Server Driver for JDBC
or the Informix JCC Driver.
When mapping a SQLException
, the SQLException
mappings from the
InformixJCCDataStoreHelper
are searched first. If no match is found, the
SQLException
mappings from the GenericDataStoreHelper
are searched. If you have additional requirements on Informix you should consider
subclassing this implementation.
SQLException
mappings specific to the InformixJccDataStoreHelper
are the following:
Error Code | SQL State | PortableSQLException subclass |
---|---|---|
-79735 | StaleConnectionException.class | |
-79716 | StaleConnectionException.class | |
-43207 | StaleConnectionException.class | |
-27002 | StaleConnectionException.class | |
-25580 | StaleConnectionException.class | |
-4499 | StaleConnectionException.class | |
-908 | StaleConnectionException.class | |
-710 | StaleStatementException.class | |
-268 | DuplicateKeyException.class | |
-239 | DuplicateKeyException.class | |
43012 | StaleConnectionException.class |
db2Tc
customDefinedWasDefaultIsoLevel, defaultQueryTimeout, EOLN, genErrorMap, resBundle, tranErrorList
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 and Description |
---|
InformixJccDataStoreHelper(java.util.Properties props)
This
InformixJccDataStoreHelper constructor creates a new
InformixJccDataStoreHelper based on the DataStoreHelper
properties provided. |
doStatementCleanup, getDriverType, getPrintWriter, isBatchUpdateSupportedWithAccessIntent
doConnectionSetup, findMappingClass, getIsolationLevel, getLockType, getResultSetConcurrency, getXAExceptionContents, setUserDefinedMap, showLockInfo
calcPartitionNumber, doConnectionCleanup, doConnectionCleanupPerCloseConnection, doConnectionCleanupWithValidCheck, doConnectionSetupPerGetConnection, doConnectionSetupPerTransaction, getMetaData, getPasswordForUseWithTrustedContextWithAuthentication, getResultSetType, hasLostUpdateOrDeadLockOccurred, isConnectionError, isDuplicateKey, isTransientConnectionError, isUnsupported, mapException, modifyXAFlag, setConfig
public InformixJccDataStoreHelper(java.util.Properties props)
InformixJccDataStoreHelper
constructor creates a new
InformixJccDataStoreHelper
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.