Class TestDB2XADataSource
- java.lang.Object
-
- com.ibm.db2.jcc.DB2BaseDataSource
-
- com.ibm.db2.jcc.DB2ConnectionPoolDataSource
-
- com.ibm.db2.jcc.DB2XADataSource
-
- com.ibm.fhir.persistence.proxy.rm.test.TestDB2XADataSource
-
- All Implemented Interfaces:
com.ibm.db2.jcc.DB2JccDataSource
,Serializable
,Referenceable
,CommonDataSource
,ConnectionPoolDataSource
,XADataSource
public class TestDB2XADataSource extends com.ibm.db2.jcc.DB2XADataSource
This class is used in the testing of the XA resource recovery function within the proxy datasource class. It serves as a wrapper class for the DB2XADataSource class and provides additional function to artificially trigger failures during the two-phase commit process.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.ibm.db2.jcc.DB2BaseDataSource
accessToken, accountingInterval, activateDatabase, AES, affinityFailbackInterval, allowNextOnExhaustedResultSet, allowNullResultSetForExecuteQuery, alternateGroupDatabaseName, alternateGroupPortNumber, alternateGroupServerList_, alternateGroupServerName, apiKey, atomicMultiRowInsert, autoCommit, BIDI_NONE, BIDI_ST10, BIDI_ST11, BIDI_ST4, BIDI_ST5, BIDI_ST6, BIDI_ST7, BIDI_ST8, BIDI_ST9, BIDI_TRANSFORM_ALL, BIDI_TRANSFORM_RECEIVE_ONLY, BIDI_TRANSFORM_SEND_ONLY, bidiLayoutTransformationFlag, blockingReadConnectionTimeout, calledViaProxy_, charOutputSize, CLEAR_TEXT_PASSWORD_SECURITY, clientAccountingInformation, clientApplcompat, clientApplicationInformation, clientBidiStringType, clientCorrelationToken, clientDebugInfo, clientProgramId, clientProgramName, clientRerouteAlternatePortNumber, clientRerouteAlternateServerName, clientRerouteServerList, clientRerouteServerListJNDIContext, clientRerouteServerListJNDIName, clientUser, clientWorkstation, cliSchema, CLOSE_CURSORS_AT_COMMIT, commandTimeout, CONCURRENT_ACCESS_NOT_SET, CONCURRENT_ACCESS_USE_CURRENTLY_COMMITTED, CONCURRENT_ACCESS_WAIT_FOR_OUTCOME, concurrentAccessResolution, CONNECTION_CLOSE_WITH_COMMIT, CONNECTION_CLOSE_WITH_EXCEPTION, CONNECTION_CLOSE_WITH_ROLLBACK, connectionCloseWithInFlightTransaction, connectionTimeout, connectNode, createLicenseCache, crLockBlob, currentDegree, currentExplainMode, currentExplainSnapshot, currentFunctionPath, currentLocaleLcCtype, currentLockTimeout, currentMaintainedTableTypesForOptimization, currentPackagePath, currentPackageSet, currentQueryOptimization, currentRefreshAge, currentSchema, currentSQLID, cursorSensitivity, databaseName, dataSourceName, dateFormat, dateTimeMutation, dbANSIWarn, dbDate, dbLocale, dbMaxProc, dbPath, dbSpaceTemp, dbTemp, dbUpSpace, debug, DECIMAL_SEPARATOR_COMMA, DECIMAL_SEPARATOR_NOT_SET, DECIMAL_SEPARATOR_PERIOD, DECIMAL_STRING_FORMAT_NOT_SET, DECIMAL_STRING_FORMAT_TO_PLAIN_STRING, DECIMAL_STRING_FORMAT_TO_STRING, decimalRoundingMode, decimalSeparator, decimalStringFormat, defaultIsolationLevel, deferPrepares, delimident, DES, description, diagLevelExceptionCode, disableTimezone, downgradeHoldCursorsUnderXa, driverType, dsInetAddrServer_, DUMP_1224, DUMP_204, DUMP_20542, DUMP_30108, DUMP_4210, DUMP_4499, DUMP_ALL, DUMP_NONE, dumpCore, dumpDir, dumpMem, dumpShMem, emulateParameterMetaDataForZCalls, enableAlternateGroupSeamlessACR, enableAlternateServerListFirstConnect, enableBidiLayoutTransformation, enableClientAffinitiesList, enableConnectionConcentrator, enableExtendedDescribe, enableExtendedIndicators, enableMultirowInsertSupport, enableNamedParameterMarkers, enableQueryAcceleration, enableRowsetSupport, enableSeamlessFailover, enableSysplexWLB, enableT2zosCallSPBundling, enableT2zosLBF, enableT2zosLBFSPResultSets, enableXACleanTransaction, ENCRYPTED_PASSWORD_SECURITY, ENCRYPTED_USER_AND_DATA_SECURITY, ENCRYPTED_USER_AND_PASSWORD_SECURITY, ENCRYPTED_USER_ONLY_SECURITY, ENCRYPTED_USER_PASSWORD_AND_DATA_SECURITY, encryptionAlgorithm, encryptionAlgorithmSupportsAES_, EUR, EXTENDED_DIAG_MESSAGE_TEXT, EXTENDED_DIAG_NO_MESSAGE_TEXT, extendedDiagnosticLevel, extendedTableInfo, fcd_, fetchSize, FETCHSIZE_NOT_SET, firstConnectionEstablished, floatingPointStringFormat, forceDisableSysplexWLB_, fullyMaterializeInputStreams, fullyMaterializeInputStreamsOnBatchExecution, fullyMaterializeLobData, gCore, gssCredential, HEX_REPRESENTATION, HOLD_CURSORS_OVER_COMMIT, ifxDirectives, ifxExtDirectives, ifxFlatUCSQ, ifxUpdDesc, ifxXaStdComplianceXaEnd, IMPLICIT_ROLLBACK_OPTION_CLOSE_CONNECTION, IMPLICIT_ROLLBACK_OPTION_NOT_CLOSE_CONNECTION, IMPLICIT_ROLLBACK_OPTION_NOT_SET, implicitRollbackOption, includeModLevelInProductVersion, informixOpCache, informixStackSize, initializationException_, INTERRUPT_PROCESSING_MODE_CLOSE_SOCKET, INTERRUPT_PROCESSING_MODE_DISABLED, INTERRUPT_PROCESSING_MODE_STATEMENT_CANCEL, interruptProcessingMode, isInternal, ISO, JCC_DBTIMESTAMP, JCC_DRIVER_FLOATING_POINT_STRING_FORMAT, JDBC, JDBC_TIMESTAMP, jdbcCollection, jdbcCollectionState, JIS, keepAliveTimeOut, keepDynamic, KERBEROS_SECURITY, kerberosServerPrincipal, keyUsage, keyUsage_cRLSign, keyUsage_dataEncipherment, keyUsage_decipherOnly, keyUsage_digitalSignature, keyUsage_encipherOnly, keyUsage_keyAgreement, keyUsage_keyCertSign, keyUsage_keyEncipherment, keyUsage_nonRepudiation, lastBestMemberIndex_, lightScans, lkNotify, LOCK_TIMEOUT_NO_WAIT, LOCK_TIMEOUT_NOT_SET, LOCK_TIMEOUT_WAIT_INDEFINITELY, lockdown, locksSFU, loginTimeout, logWriter, LUW_TYPE2_DRIVER_FLOATING_POINT_STRING_FORMAT, MAX_RETRIES_NOT_SET, MAX_TRANSPORT_OBJECTS, maxConnCachedParamBufferSize, maxRowsetSize, maxStatements, memberConnectTimeout, monitorCollectionInterval, monitoredDataSourceName, monitorEnabled, monitorLevel, monitorPort, monitorServerName, NO, NO_EXTENDED_DIAG, NO_UPDATE_COUNT, NODEFAULT, noDefDac, noShMsg, noSortIndex, NOT_SET, optCompInd, optimizationProfile, optimizationProfileToFlush, optoFC, orignalTargetSqlam_, pDQPriority, pkList, planName, pLoadLoPath, plugin, PLUGIN_NAME_IBMIAMauth, PLUGIN_SECURITY, pluginClassName, pluginName, portNumber, productID_, profileName, progressiveStreaming, propertyDefault_activateDatabase, propertyDefault_affinityFailbackInterval, propertyDefault_allowNextOnExhaustedResultSet, propertyDefault_allowNullResultSetForExecuteQuery, propertyDefault_atomicMultiRowInsert, propertyDefault_autoCommit, propertyDefault_bidiLayoutTransformationFlag, propertyDefault_blockingReadConnectionTimeout, propertyDefault_charOutputSize, propertyDefault_clientBidiStringType, propertyDefault_cloudscapePortNumber, propertyDefault_commandTimeout, propertyDefault_concurrentAccessResolution, propertyDefault_connectionCloseWithInFlightTransaction, propertyDefault_connectionTimeout, propertyDefault_connectNode, propertyDefault_crLockBlob, propertyDefault_currentLockTimeout, propertyDefault_currentQueryOptimization, propertyDefault_currentRefreshAge, propertyDefault_cursorSensitivity, propertyDefault_dateFormat, propertyDefault_dateTimeMutation, propertyDefault_dbANSIWarn, propertyDefault_dbDate, propertyDefault_dbLocale, propertyDefault_dbMaxProc, propertyDefault_dbPath, propertyDefault_dbSpaceTemp, propertyDefault_dbTemp, propertyDefault_dbUpSpace, propertyDefault_debug, propertyDefault_decimalRoundingMode, propertyDefault_decimalSeparator, propertyDefault_decimalStringFormat, propertyDefault_defaultIsolationLevel, propertyDefault_deferPrepares, propertyDefault_delimident, propertyDefault_diagLevelExceptionCode, propertyDefault_disableTimezone, propertyDefault_downgradeHoldCursorsUnderXa, propertyDefault_dumpCore, propertyDefault_dumpDir, propertyDefault_dumpMem, propertyDefault_dumpShMem, propertyDefault_emulateParameterMetaDataForZCalls, propertyDefault_enableAlternateGroupSeamlessACR, propertyDefault_enableAlternateServerListFirstConnect, propertyDefault_enableBidiLayoutTransformation, propertyDefault_enableClientAffinitiesList, propertyDefault_enableConnectionConcentrator, propertyDefault_enableExtendedDescribe, propertyDefault_enableExtendedIndicators, propertyDefault_enableMultirowInsertSupport, propertyDefault_enableNamedParameterMarkers, propertyDefault_enableQueryAcceleration, propertyDefault_enableRowsetSupport, propertyDefault_enableSeamlessFailover, propertyDefault_enableSysplexWLB, propertyDefault_enableT2zosCallSPBundling, propertyDefault_enableT2zosLBF, propertyDefault_enableT2zosLBFSPResultSets, propertyDefault_enableXACleanTransaction, propertyDefault_encryptionAlgorithm, propertyDefault_extendedDiagnosticLevel, propertyDefault_extendedTableInfo, propertyDefault_fetchSize, propertyDefault_floatingPointStringFormat, propertyDefault_fullyMaterializeInputStreams, propertyDefault_fullyMaterializeInputStreamsOnBatchExecution, propertyDefault_fullyMaterializeLobData, propertyDefault_gCore, propertyDefault_ifxDirectives, propertyDefault_ifxExtDirectives, propertyDefault_ifxFlatUCSQ, propertyDefault_ifxUpdDesc, propertyDefault_ifxXaStdComplianceXaEnd, propertyDefault_implicitRollbackOption, propertyDefault_includeModLevelInProductVersion, propertyDefault_informixOpCache, propertyDefault_informixStackSize, propertyDefault_interruptProcessingMode, propertyDefault_jdbcCollection, propertyDefault_keepAliveTimeOut, propertyDefault_keepDynamic, propertyDefault_keyUsage, propertyDefault_lightScans, propertyDefault_lkNotify, propertyDefault_lockdown, propertyDefault_locksSFU, propertyDefault_loginTimeout, propertyDefault_maxRetriesForClientReroute, propertyDefault_maxRowsetSize, propertyDefault_maxStatements, propertyDefault_maxTransportObjects, propertyDefault_memberConnectTimeout, propertyDefault_memberConnectTimeout_zOS, propertyDefault_monitorCollectionInterval, propertyDefault_monitoredDataSourceName, propertyDefault_monitorEnabled, propertyDefault_monitorLevel, propertyDefault_monitorPort, propertyDefault_monitorServerName, propertyDefault_noDefDac, propertyDefault_noShMsg, propertyDefault_noSortIndex, propertyDefault_optCompInd, propertyDefault_optoFC, propertyDefault_pDQPriority, propertyDefault_pLoadLoPath, propertyDefault_pluginClassName, propertyDefault_portNumber, propertyDefault_profileName, propertyDefault_progressiveStreaming, propertyDefault_pSortDbTemp, propertyDefault_pSortNProcs, propertyDefault_queryCloseImplicit, propertyDefault_queryDataSize, propertyDefault_queryTimeoutInterruptProcessingMode, propertyDefault_readOnly, propertyDefault_recordTemporalHistory, propertyDefault_reportLongTypes, propertyDefault_resultSetHoldability, propertyDefault_resultSetHoldabilityForCatalogQueries, propertyDefault_retrieveMessagesFromServerOnGetMessage, propertyDefault_retryIntervalForClientReroute, propertyDefault_retryWithAlternativeSecurityMechanism, propertyDefault_returnAlias, propertyDefault_securityMechanism, propertyDefault_sendCharInputsUTF8, propertyDefault_sendDataAsIs, propertyDefault_serverBidiStringType, propertyDefault_sLabel, propertyDefault_sortIndex, propertyDefault_sqlFromDbImport, propertyDefault_sqljAvoidTimeStampConversion, propertyDefault_sqljCloseStmtsWithOpenResultSet, propertyDefault_sqljEnableClassLoaderSpecificProfiles, propertyDefault_sqlStats, propertyDefault_sslCipherSuites, propertyDefault_sslConnection, propertyDefault_statementConcentrator, propertyDefault_stmtCache, propertyDefault_stmtCacheDebug, propertyDefault_streamBufferSize, propertyDefault_stripTrailingZerosForDecimalNumbers, propertyDefault_subQCacheSz, propertyDefault_supportsRawDateTimeRetrieval, propertyDefault_timeFormat, propertyDefault_timeoutOnCursor, propertyDefault_timerLevelForQueryTimeOut, propertyDefault_timestampFormat, propertyDefault_timestampOutputType, propertyDefault_timestampPrecisionReporting, propertyDefault_traceFileAppend, propertyDefault_traceFileCount, propertyDefault_traceFileSize, propertyDefault_traceLevel, propertyDefault_traceOption, propertyDefault_translateForBitData, propertyDefault_updateCountForBatch, propertyDefault_useCachedCursor, propertyDefault_useIdentityValLocalForAutoGeneratedKeys, propertyDefault_useJDBC41DefinitionForGetColumns, propertyDefault_useJDBC4ColumnNameAndLabelSemantics, propertyDefault_useRowsetCursor, propertyDefault_useTransactionRedirect, propertyDefault_xaNetworkOptimization, propertyDefault_xmlFormat, propertyKey_accessToken, propertyKey_accountingInterval, propertyKey_activateDatabase, propertyKey_affinityFailbackInterval, propertyKey_allowNextOnExhaustedResultSet, propertyKey_allowNullResultSetForExecuteQuery, propertyKey_alternateGroupDatabaseName, propertyKey_alternateGroupPortNumber, propertyKey_alternateGroupServerName, propertyKey_apiKey, propertyKey_atomicMultiRowInsert, propertyKey_autoCommit, propertyKey_bidiLayoutTransformationFlag, propertyKey_blockingReadConnectionTimeout, propertyKey_charOutputSize, propertyKey_clientAccountingInformation, propertyKey_clientApplcompat, propertyKey_clientApplicationInformation, propertyKey_clientBidiStringType, propertyKey_clientCorrelationToken, propertyKey_clientDebugInfo, propertyKey_clientProgramId, propertyKey_clientProgramName, propertyKey_clientRerouteAlternatePortNumber, propertyKey_clientRerouteAlternateServerName, propertyKey_clientRerouteServerListJNDIName, propertyKey_clientUser, propertyKey_clientWorkstation, propertyKey_cliSchema, propertyKey_commandTimeout, propertyKey_concurrentAccessResolution, propertyKey_connectionCloseWithInFlightTransaction, propertyKey_connectionTimeout, propertyKey_connectNode, propertyKey_createLicenseCache, propertyKey_crLockBlob, propertyKey_currentDegree, propertyKey_currentExplainMode, propertyKey_currentExplainSnapshot, propertyKey_currentFunctionPath, propertyKey_currentLocaleLcCtype, propertyKey_currentLockTimeout, propertyKey_currentMaintainedTableTypesForOptimization, propertyKey_currentPackagePath, propertyKey_currentPackageSet, propertyKey_currentQueryOptimization, propertyKey_currentRefreshAge, propertyKey_currentSchema, propertyKey_currentSQLID, propertyKey_cursorSensitivity, propertyKey_databaseName, propertyKey_dataSourceName, propertyKey_dateFormat, propertyKey_dateTimeMutation, propertyKey_dbANSIWarn, propertyKey_dbDate, propertyKey_dbLocale, propertyKey_dbMaxProc, propertyKey_dbPath, propertyKey_dbSpaceTemp, propertyKey_dbTemp, propertyKey_dbUpSpace, propertyKey_debug, propertyKey_decimalRoundingMode, propertyKey_decimalSeparator, propertyKey_decimalStringFormat, propertyKey_defaultIsolationLevel, propertyKey_deferPrepares, propertyKey_delimident, propertyKey_description, propertyKey_diagLevelExceptionCode, propertyKey_disableTimezone, propertyKey_downgradeHoldCursorsUnderXa, propertyKey_driverType, propertyKey_dumpCore, propertyKey_dumpDir, propertyKey_dumpMem, propertyKey_dumpShMem, propertyKey_emulateParameterMetaDataForZCalls, propertyKey_enableAlternateGroupSeamlessACR, propertyKey_enableAlternateServerListFirstConnect, propertyKey_enableBidiLayoutTransformation, propertyKey_enableClientAffinitiesList, propertyKey_enableConnectionConcentrator, propertyKey_enableExtendedDescribe, propertyKey_enableExtendedIndicators, propertyKey_enableMultirowInsertSupport, propertyKey_enableNamedParameterMarkers, propertyKey_enableRowsetSupport, propertyKey_enableSeamlessFailover, propertyKey_enableSysplexWLB, propertyKey_enableT2zosCallSPBundling, propertyKey_enableT2zosLBF, propertyKey_enableT2zosLBFSPResultSets, propertyKey_enableXACleanTransaction, propertyKey_encryptionAlgorithm, propertyKey_extendedDiagnosticLevel, propertyKey_extendedTableInfo, propertyKey_fetchSize, propertyKey_floatingPointStringFormat, propertyKey_fullyMaterializeInputStreams, propertyKey_fullyMaterializeInputStreamsOnBatchExecution, propertyKey_fullyMaterializeLobData, propertyKey_gCore, propertyKey_globalSessionVariables, propertyKey_gssCredential, propertyKey_ifxDirectives, propertyKey_ifxExtDirectives, propertyKey_ifxFlatUCSQ, propertyKey_ifxUpdDesc, propertyKey_ifxXaStdComplianceXaEnd, propertyKey_implicitRollbackOption, propertyKey_includeModLevelInProductVersion, propertyKey_informixOpCache, propertyKey_informixStackSize, propertyKey_interruptProcessingMode, propertyKey_jdbcCollection, propertyKey_keepAliveTimeOut, propertyKey_keepDynamic, propertyKey_kerberosServerPrincipal, propertyKey_keyUsage, propertyKey_lightScans, propertyKey_lkNotify, propertyKey_lockdown, propertyKey_locksSFU, propertyKey_loginTimeout, propertyKey_maxConnCachedParamBufferSize, propertyKey_maxRetriesForClientReroute, propertyKey_maxRowsetSize, propertyKey_maxStatements, propertyKey_maxTransportObjects, propertyKey_memberConnectTimeout, propertyKey_monitorCollectionInterval, propertyKey_monitoredDataSourceName, propertyKey_monitorEnabled, propertyKey_monitorLevel, propertyKey_monitorPort, propertyKey_monitorServerName, propertyKey_noDefDac, propertyKey_noShMsg, propertyKey_noSortIndex, propertyKey_optCompInd, propertyKey_optimizationProfile, propertyKey_optimizationProfileToFlush, propertyKey_optoFC, propertyKey_pDQPriority, propertyKey_pdqProperties, propertyKey_pkList, propertyKey_planName, propertyKey_pLoadLoPath, propertyKey_plugin, propertyKey_pluginClassName, propertyKey_pluginName, propertyKey_portNumber, propertyKey_profileName, propertyKey_progressiveStreaming, propertyKey_pSortDbTemp, propertyKey_pSortNProcs, propertyKey_queryCloseImplicit, propertyKey_queryDataSize, propertyKey_queryTimeoutInterruptProcessingMode, propertyKey_readOnly, propertyKey_recordTemporalHistory, propertyKey_reportLongTypes, propertyKey_resultSetHoldability, propertyKey_resultSetHoldabilityForCatalogQueries, propertyKey_retrieveMessagesFromServerOnGetMessage, propertyKey_retryIntervalForClientReroute, propertyKey_retryWithAlternativeSecurityMechanism, propertyKey_returnAlias, propertyKey_securityMechanism, propertyKey_sendCharInputsUTF8, propertyKey_sendDataAsIs, propertyKey_serverBidiStringType, propertyKey_serverName, propertyKey_sessionTimeZone, propertyKey_sLabel, propertyKey_sortIndex, propertyKey_sqlFromDbImport, propertyKey_sqljAvoidTimeStampConversion, propertyKey_sqljCloseStmtsWithOpenResultSet, propertyKey_sqljEnableClassLoaderSpecificProfiles, propertyKey_sqlStats, propertyKey_ssid, propertyKey_sslCertLocation, propertyKey_sslCipherSuites, propertyKey_sslConnection, propertyKey_sslKeyStoreLocation, propertyKey_sslKeyStorePassword, propertyKey_sslKeyStoreType, propertyKey_sslTrustStoreLocation, propertyKey_sslTrustStorePassword, propertyKey_sslTrustStoreType, propertyKey_sslVersion, propertyKey_statementConcentrator, propertyKey_stmtCache, propertyKey_stmtCacheDebug, propertyKey_streamBufferSize, propertyKey_stripTrailingZerosForDecimalNumbers, propertyKey_subQCacheSz, propertyKey_supportsAsynchronousXARollback, propertyKey_supportsRawDateTimeRetrieval, propertyKey_sysSchema, propertyKey_timeFormat, propertyKey_timeoutOnCursor, propertyKey_timerLevelForQueryTimeOut, propertyKey_timestampFormat, propertyKey_timestampOutputType, propertyKey_timestampPrecisionReporting, propertyKey_traceDirectory, propertyKey_traceFile, propertyKey_traceFileAppend, propertyKey_traceFileCount, propertyKey_traceFileSize, propertyKey_traceLevel, propertyKey_traceOption, propertyKey_translateForBitData, propertyKey_updateCountForBatch, propertyKey_useCachedCursor, propertyKey_useIdentityValLocalForAutoGeneratedKeys, propertyKey_useJDBC41DefinitionForGetColumns, propertyKey_useJDBC4ColumnNameAndLabelSemantics, propertyKey_user, propertyKey_useRowsetCursor, propertyKey_useTransactionRedirect, propertyKey_xaNetworkOptimization, propertyKey_xmlFormat, propertyNotSet_memberConnectTimeout, propertyNotSet_reportLongTypes, propertyNotSet_returnAlias, proxy_, pSortDbTemp, pSortNProcs, QUERY_CLOSE_IMPLICIT_COMMIT, QUERY_CLOSE_IMPLICIT_NO, QUERY_CLOSE_IMPLICIT_YES, QUERY_DATA_SIZE_DEFAULT, QUERY_DATA_SIZE_NOT_SET, QUERY_OPTIMIZATION_NOT_SET, queryAccelerationString, queryCloseImplicit, queryDataSize, QUERYTIMEOUT_CONNECTION_LEVEL, QUERYTIMEOUT_DISABLED, QUERYTIMEOUT_STATEMENT_LEVEL, queryTimeoutInterruptProcessingMode, readOnly, recordTemporalHistory, REFRESH_AGE_ANY, REFRESH_AGE_NOT_SET, reportLongTypes, resultSetHoldability, resultSetHoldabilityForCatalogQueries, retrieveMessagesFromServerOnGetMessage, RETRY_INTERVAL_NOT_SET, retryWithAlternativeSecurityMechanism, returnAlias, ROUND_CEILING, ROUND_DOWN, ROUND_FLOOR, ROUND_HALF_DOWN, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_UNSET, ROUND_UP, securityMechanism, sendCharInputsUTF8, sendDataAsIs, SERVER_ENCODING_REPRESENTATION, serverBidiStringType, serverName, serverType_, sessionTimeZone, shadowKey_applMaxTransportObjects, sLabel, sortIndex, specialRegisters, sqlFromDbImport, sqljAvoidTimeStampConversion, sqljCloseStmtsWithOpenResultSet, sqljEnableClassLoaderSpecificProfiles, sqlStats, ssid, sslCertLocation, sslCipherSuites, sslConnection, sslKeyStoreLocation, sslKeyStorePassword, sslKeyStoreType, sslTrustStoreLocation, sslTrustStorePassword, sslTrustStoreType, sslVersion, STATEMENT_CONCENTRATOR_NOT_SET, STATEMENT_CONCENTRATOR_OFF, STATEMENT_CONCENTRATOR_WITH_LITERALS, statementConcentrator, stmtCache, stmtCacheDebug, STREAM_BUFFER_SIZE_NOT_SET, STREAM_BUFFER_SIZE_SERVER_DEFAULT, streamBufferSize, stripTrailingZerosForDecimalNumbers, subQCacheSz, supportsAsynchronousXARollback, supportsRawDateTimeRetrieval, sysSchema, targetAgent_, targetCmnappc_, targetCmntcpip_, targetRdb_, targetRsyncmgr_, targetSecmgr_, targetSrvrlslv_, targetSyncptmgr_, targetXamgr_7, timeFormat, timeoutOnCursor, timer, timerLevelForQueryTimeOut, TIMESTAMP_JDBC_STANDARD, TIMESTAMP_NOT_SET, TIMESTAMP_ZERO_PADDING, timestampFormat, timestampOutputType, timestampPrecisionReporting, TLS_CLIENT_CERTIFICATE_SECURITY, TOTAL_UPDATE_COUNT, TRACE_ALL, TRACE_ALL_EXTERNAL_CALLS, TRACE_CONNECTION_CALLS, TRACE_CONNECTS, TRACE_DATASOURCE_CALLS, TRACE_DIAGNOSTICS, TRACE_DRDA_FLOWS, TRACE_DRIVER_CONFIGURATION, TRACE_FILE_COUNT, TRACE_FILE_SIZE, TRACE_LARGE_OBJECT_CALLS, TRACE_META_CALLS, TRACE_NONE, TRACE_NOTSET, TRACE_OPTION_CIRCULAR, TRACE_PARAMETER_META_DATA, TRACE_RESULT_SET_CALLS, TRACE_RESULT_SET_META_DATA, TRACE_SQLJ, TRACE_STATEMENT_CALLS, TRACE_SYSPLEX, TRACE_SYSTEM_MONITOR, TRACE_T2ZOS, TRACE_TRACEPOINTS, TRACE_XA_CALLS, traceDirectory, traceFile, traceFileAppend, traceFileCount, traceFileSize, traceLevel, traceOption, translateForBitData, TYPE_SCROLL_ASENSITIVE, TYPE_SCROLL_SENSITIVE_DYNAMIC, TYPE_SCROLL_SENSITIVE_STATIC, updateCountForBatch, USA, useCachedCursor, useIdentityValLocalForAutoGeneratedKeys, useJDBC41DefinitionForGetColumns, useJDBC4ColumnNameAndLabelSemantics, user, USER_ONLY_SECURITY, useRowsetCursor, userProperties, useTransactionRedirect, xaNetworkOptimization, XML_FORMAT_BINARY, XML_FORMAT_NOT_SET, XML_FORMAT_TEXTUAL, xmlFormat, YES
-
-
Constructor Summary
Constructors Constructor Description TestDB2XADataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFailCount()
String
getFailStep()
XAConnection
getXAConnection()
We'll override this method so that we can insert our own class as a wrapper around the XAConnection served up by the super class.void
setFailCount(int failCount)
void
setFailStep(String failStep)
String
toString()
-
Methods inherited from class com.ibm.db2.jcc.DB2XADataSource
a, getDB2TrustedXAConnection, getDB2TrustedXAConnection, getDB2TrustedXAConnection, getDB2XAConnection, getDB2XAConnection, getXAConnection, setPassword
-
Methods inherited from class com.ibm.db2.jcc.DB2ConnectionPoolDataSource
getDB2PooledConnection, getDB2PooledConnection, getDB2TrustedPooledConnection, getDB2TrustedPooledConnection, getDB2TrustedPooledConnection, getPooledConnection, getPooledConnection, getPooledConnection
-
Methods inherited from class com.ibm.db2.jcc.DB2BaseDataSource
callProxyGetConnection, callUsingProxyIsTrue, computeJccLogWriterForNewConnection, computeJccLogWriterForNewConnection, computeJccLogWriterForReuse, computePrintWriter, dtpo, getAccessToken, getAccountingInterval, getAccountingInterval, getActivateDatabase, getAffinityFailbackInterval, getAllowNextOnExhaustedResultSet, getAllowNullResultSetForExecuteQuery, getAlternateGroupDatabaseName, getAlternateGroupPortNumber, getAlternateGroupServerName, getApiKey, getAtomicMultiRowInsert, getAutoCommit, getBidiLayoutTransformationFlag, getBlockingReadConnectionTimeout, getBlockingReadConnectionTimeout, getCharOutputSize, getCharOutputSize, getClientAccountingInformation, getClientAccountingInformation, getClientApplcompat, getClientApplicationInformation, getClientApplicationInformation, getClientBidiStringType, getClientCorrelationToken, getClientCorrelationToken, getClientDebugInfo, getClientDebugInfo, getClientProgramId, getClientProgramId, getClientProgramName, getClientProgramName, getClientRerouteAlternatePortNumber, getClientRerouteAlternateServerName, getClientRerouteServerList, getClientRerouteServerListJNDIContext, getClientRerouteServerListJNDIName, getClientRerouteServerListJNDIName, getClientUser, getClientUser, getClientWorkstation, getClientWorkstation, getCliSchema, getCliSchema, getCommandTimeout, getConcurrentAccessResolution, getConnectionCloseWithInFlightTransaction, getConnectionTimeout, getConnectNode, getCR_LOCKBLOB, getCurrentAlternateGroupEntry, getCurrentDegree, getCurrentExplainMode, getCurrentExplainMode, getCurrentExplainSnapshot, getCurrentExplainSnapshot, getCurrentFunctionPath, getCurrentFunctionPath, getCurrentLocaleLcCtype, getCurrentLockTimeout, getCurrentLockTimeout, getCurrentMaintainedTableTypesForOptimization, getCurrentMaintainedTableTypesForOptimization, getCurrentPackagePath, getCurrentPackagePath, getCurrentPackageSet, getCurrentPackageSet, getCurrentQueryOptimization, getCurrentQueryOptimization, getCurrentRefreshAge, getCurrentRefreshAge, getCurrentSchema, getCurrentSchema, getCurrentSQLID, getCurrentSQLID, getCursorSensitivity, getCursorSensitivity, getDatabaseName, getDataSourceName, getDataSourceProxy, getDateFormat, getDateTimeMutation, getDateTimeMutation, getDB_LOCALE, getDBANSIWARN, getDBDATE, getDBMAXPROC, getDBPATH, getDBSPACETEMP, getDBTEMP, getDBUPSPACE, getDEBUG, getDecimalRoundingMode, getDecimalSeparator, getDecimalStringFormat, getDefaultIsolationLevel, getDeferPrepares, getDeferPrepares, getDELIMIDENT, getDescription, getDisableTimezone, getDowngradeHoldCursorsUnderXa, getDowngradeHoldCursorsUnderXa, getDriverType, getDUMPCORE, getDUMPDIR, getDUMPMEM, getDUMPSHMEM, getEmulateParameterMetaDataForZCalls, getEnableAlternateGroupSeamlessACR, getEnableBidiLayoutTransformation, getEnableClientAffinitiesList, getEnableConnectionConcentrator, getEnableConnectionConcentrator, getEnabledTimeoutOnCursor, getEnableExtendedDescribe, getEnableExtendedIndicators, getEnableMultirowInsertSupport, getEnableNamedParameterMarkers, getEnableRowsetSupport, getEnableRowsetSupport, getEnableSeamlessFailover, getEnableSysplexWLB, getEnableSysplexWLB, getEnableT2zosCallSPBundling, getEnableT2zosCallSPBundling, getEnableT2zosLBF, getEnableT2zosLBF, getEnableT2zosLBFSPResultSets, getEnableT2zosLBFSPResultSets, getEnableTimeoutOnCursor, getEnableXACleanTransaction, getEncryptionAlgorithm, getextendedDiagnosticLevel, getExtendedDiagnosticLevel, getExtendedTableInfo, getFetchSize, getFloatingPointStringFormat, getFullyMaterializeInputStreams, getFullyMaterializeInputStreams, getFullyMaterializeInputStreamsOnBatchExecution, getFullyMaterializeInputStreamsOnBatchExecution, getFullyMaterializeLobData, getFullyMaterializeLobData, getGCORE, getGlobalSessionVariables, getGSSCredential, getGSSCredential, getIFX_DIRECTIVES, getIFX_EXTDIRECTIVES, getIFX_FLAT_UCSQ, getIFX_UPDDESC, getIFX_XASTDCOMPLIANCE_XAEND, getImplicitRollbackOption, getIncludeModLevelInProductVersion, getINFORMIXOPCACHE, getINFORMIXSTACKSIZE, getInterruptProcessingMode, getIsPrimaryServerUp, getJccVersion, getJdbcCollection, getJdbcCollection, getJdbcCollectionState, getKeepAliveTimeOut, getKeepDynamic, getKeepDynamic, getKerberosServerPrincipal, getKerberosServerPrincipal, getkeyUsage, getLIGHT_SCANS, getLKNOTIFY, getLOCKDOWN, getLOCKSSFU, getLoginTimeout, getLogWriter, getMaxConnCachedParamBufferSize, getMaxConnCachedParamBufferSize, getMaxRetriesForClientReroute, getMaxRetriesForClientReroute, getMaxRowsetSize, getMaxRowsetSize, getMaxStatements, getMaxStatements, getMaxTransportObjects, getMaxTransportObjects, getMemberConnectTimeout, getMonitorCollectionInterval, getMonitoredDataSourceName, getMonitorEnabled, getMonitorLevel, getMonitorPort, getMonitorServerName, getNODEFDAC, getNOSHMSG, getNOSORTINDEX, getOPTCOMPIND, getOptimizationProfile, getOptimizationProfile, getOptimizationProfileToFlush, getOptimizationProfileToFlush, getOPTOFC, getParentLogger, getPassword, getPDQPRIORITY, getPdqProperties, getPkList, getPkList, getPlanName, getPlanName, getPLOAD_LO_PATH, getPlugin, getPlugin, getPluginClassName, getPluginClassName, getPluginName, getPluginName, getPortNumber, getPrimaryServer, getProfileName, getProgressiveStreaming, getProgressiveStreaming, getProperties, getProperties, getPropertiesMap, getPSORT_DBTEMP, getPSORT_NPROCS, getQueryAcceleration, getQueryAccelerationEnable, getQueryCloseImplicit, getQueryCloseImplicit, getQueryDataSize, getQueryTimeoutInterruptProcessingMode, getReadOnly, getReadOnly, getRecordTemporalHistory, getReference, getReportLongTypes, getResultSetHoldability, getResultSetHoldability, getResultSetHoldabilityForCatalogQueries, getRetrieveMessagesFromServerOnGetMessage, getRetrieveMessagesFromServerOnGetMessage, getRetryIntervalForClientReroute, getRetryIntervalForClientReroute, getRetryWithAlternativeSecurityMechanism, getReturnAlias, getReturnAlias, getSecurityMechanism, getSecurityMechanism, getSendCharInputsUTF8, getSendCharInputsUTF8, getSendDataAsIs, getSendDataAsIs, getServerBidiStringType, getServerName, getSessionTimeZone, getSLABEL, getSORTINDEX, getSpecialRegisters, getSQL_FROM_DBIMPORT, getSqljAvoidTimeStampConversion, getSqljCloseStmtsWithOpenResultSet, getSqljEnableClassLoaderSpecificProfiles, getSQLSTATS, getSsid, getSsid, getSslCertLocation, getSSLCipherSuites, getSslConnection, getSslConnection, getSslConnectionAsString, getSslKeyStoreLocation, getSslKeyStorePassword, getSslKeyStoreType, getSslTrustStoreLocation, getSslTrustStorePassword, getSslTrustStoreType, getSslVersion, getStatementConcentrator, getSTMT_CACHE, getSTMT_CACHE_DEBUG, getStreamBufferSize, getStreamBufferSize, getStripTrailingZerosForDecimalNumbers, getSUBQCACHESZ, getSupportsAsynchronousXARollback, getSupportsAsynchronousXARollback, getSupportsRawDateTimeRetrieval, getSupportsRawDateTimeRetrieval, getSysSchema, getSysSchema, getTimeFormat, getTimerLevelForQueryTimeOut, getTimestampFormat, getTimestampOutputType, getTimestampPrecisionReporting, getTraceDirectory, getTraceDirectory, getTraceFile, getTraceFile, getTraceFileAppend, getTraceFileAppend, getTraceFileCount, getTraceFileCount, getTraceFileSize, getTraceFileSize, getTraceLevel, getTraceLevel, getTraceOption, getTraceOption, getTranslateForBitData, getUpdateCountForBatch, getUseCachedCursor, getUseCachedCursor, getUseCachedCursorAsInt, getUseIdentityValLocalForAutoGeneratedKeys, getUseJDBC41DefinitionForGetColumns, getUseJDBC4ColumnNameAndLabelSemantics, getUser, getUser, getUseRowsetCursor, getUseRowsetCursor, getUserProperties, getUseTransactionRedirect, getUseTransactionRedirect, getXaNetworkOptimization, getXaNetworkOptimization, getXmlFormat, getXmlFormat, gtpo, hasFirstConnectionFlown, hydrateFromReference, initializeDataSourceProxy, initProperties, isCreateLicenseCache, isInternal, isSendDefaultWorkstation, itpo, parseBool, parseBoolean, parseBoolean, parseImplicitRollbackOption, parseInt, parseInt, parseInterruptProcessingMode, parseLong, parseShort, parseString, parseTernaryValue, parseURLSnippet, pullData, pushDown, setAccessToken, setAccountingInterval, setActivateDatabase, setAffinityFailbackInterval, setAllowNextOnExhaustedResultSet, setAllowNullResultSetForExecuteQuery, setAlternateGroupDatabaseName, setAlternateGroupPortNumber, setAlternateGroupServerName, setApiKey, setAtomicMultiRowInsert, setAutoCommit, setBidiLayoutTransformationFlag, setBlockingReadConnectionTimeout, setCharOutputSize, setClientAccountingInformation, setClientApplcompat, setClientApplicationInformation, setClientBidiStringType, setClientCorrelationToken, setClientDebugInfo, setClientProgramId, setClientProgramName, setClientRerouteAlternatePortNumber, setClientRerouteAlternateServerName, setClientRerouteServerList, setClientRerouteServerListJNDIContext, setClientRerouteServerListJNDIName, setClientUser, setClientWorkstation, setCliSchema, setCommandTimeout, setConcurrentAccessResolution, setConnectionCloseWithInFlightTransaction, setConnectionTimeout, setConnectNode, setCR_LOCKBLOB, setCreateLicenseCache, setCurrentAlternateGroupEntry, setCurrentDegree, setCurrentExplainMode, setCurrentExplainSnapshot, setCurrentFunctionPath, setCurrentLocaleLcCtype, setCurrentLockTimeout, setCurrentMaintainedTableTypesForOptimization, setCurrentPackagePath, setCurrentPackageSet, setCurrentQueryOptimization, setCurrentRefreshAge, setCurrentSchema, setCurrentSQLID, setCursorSensitivity, setDatabaseName, setDataSourceName, setDateFormat, setDateTimeMutation, setDB_LOCALE, setDBANSIWARN, setDBDATE, setDBMAXPROC, setDBPATH, setDBSPACETEMP, setDBTEMP, setDBUPSPACE, setDEBUG, setDecimalRoundingMode, setDecimalSeparator, setDecimalStringFormat, setDefaultIsolationLevel, setDeferPrepares, setDELIMIDENT, setDescription, setDisableTimezone, setDowngradeHoldCursorsUnderXa, setDriverType, setDUMPCORE, setDUMPDIR, setDUMPMEM, setDUMPSHMEM, setEmulateParameterMetaDataForZCalls, setEnableAlternateGroupSeamlessACR, setEnableBidiLayoutTransformation, setEnableClientAffinitiesList, setEnableConnectionConcentrator, setEnableExtendedDescribe, setEnableExtendedIndicators, setEnableMultirowInsertSupport, setEnableNamedParameterMarkers, setEnableRowsetSupport, setEnableSeamlessFailover, setEnableSysplexWLB, setEnableT2zosCallSPBundling, setEnableT2zosLBF, setEnableT2zosLBFSPResultSets, setEnableTimeoutOnCursor, setEnableXACleanTransaction, setEncryptionAlgorithm, setExtendedDiagnosticLevel, setExtendedTableInfo, setFetchSize, setFirstConnectionFlown, setFloatingPointStringFormat, setFullyMaterializeInputStreams, setFullyMaterializeInputStreamsOnBatchExecution, setFullyMaterializeLobData, setGCORE, setGlobalSessionVariables, setGlobalSessionVariables, setGSSCredential, setIFX_DIRECTIVES, setIFX_EXTDIRECTIVES, setIFX_FLAT_UCSQ, setIFX_UPDDESC, setIFX_XASTDCOMPLIANCE_XAEND, setImplicitRollbackOption, setIncludeModLevelInProductVersion, setINFORMIXOPCACHE, setINFORMIXSTACKSIZE, setInterruptProcessingMode, setIsPrimaryServerUp, setJdbcCollection, setJdbcCollectionState, setKeepAliveTimeOut, setKeepDynamic, setKerberosServerPrincipal, setkeyUsage, setLIGHT_SCANS, setLKNOTIFY, setLOCKDOWN, setLOCKSSFU, setLoginTimeout, setLogWriter, setMaxConnCachedParamBufferSize, setMaxRetriesForClientReroute, setMaxRowsetSize, setMaxStatements, setMaxTransportObjects, setMemberConnectTimeout, setMonitorCollectionInterval, setMonitoredDataSourceName, setMonitorEnabled, setMonitorLevel, setMonitorPort, setMonitorServerName, setNODEFDAC, setNOSHMSG, setNOSORTINDEX, setOPTCOMPIND, setOptimizationProfile, setOptimizationProfileToFlush, setOPTOFC, setPDQPRIORITY, setPdqProperties, setPkList, setPlanName, setPLOAD_LO_PATH, setPlugin, setPluginClassName, setPluginName, setPortNumber, setProfileName, setProgressiveStreaming, setPSORT_DBTEMP, setPSORT_NPROCS, setQueryAcceleration, setQueryAccelerationEnable, setQueryCloseImplicit, setQueryDataSize, setQueryTimeoutInterruptProcessingMode, setReadOnly, setRecordTemporalHistory, setReportLongTypes, setResultSetHoldability, setResultSetHoldabilityForCatalogQueries, setRetrieveMessagesFromServerOnGetMessage, setRetryIntervalForClientReroute, setRetryWithAlternativeSecurityMechanism, setReturnAlias, setSecurityMechanism, setSendCharInputsUTF8, setSendDataAsIs, setServerBidiStringType, setServerName, setSessionTimeZone, setSLABEL, setSORTINDEX, setSpecialRegisters, setSpecialRegisters, setSQL_FROM_DBIMPORT, setSqljAvoidTimeStampConversion, setSqljCloseStmtsWithOpenResultSet, setSqljEnableClassLoaderSpecificProfiles, setSQLSTATS, setSsid, setSslCertLocation, setSSLCipherSuites, setSslConnection, setSslKeyStoreLocation, setSslKeyStorePassword, setSslKeyStoreType, setSslTrustStoreLocation, setSslTrustStorePassword, setSslTrustStoreType, setSslVersion, setStatementConcentrator, setSTMT_CACHE, setSTMT_CACHE_DEBUG, setStreamBufferSize, setStripTrailingZerosForDecimalNumbers, setSUBQCACHESZ, setsupportsAsynchronousXARollback, setSupportsRawDateTimeRetrieval, setSysSchema, setTimeFormat, setTimerLevelForQueryTimeOut, setTimestampFormat, setTimestampOutputType, setTimestampPrecisionReporting, setTraceDirectory, setTraceFile, setTraceFileAppend, setTraceFileCount, setTraceFileSize, setTraceLevel, setTraceOption, setTranslateForBitData, setUpdateCountForBatch, setUseCachedCursor, setUseIdentityValLocalForAutoGeneratedKeys, setUseJDBC41DefinitionForGetColumns, setUseJDBC4ColumnNameAndLabelSemantics, setUser, setUseRowsetCursor, setUseTransactionRedirect, setXaNetworkOptimization, setXmlFormat, updateClientRerouteServerList, updateClientRerouteServerListOnConnection
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLogger
-
Methods inherited from interface javax.sql.ConnectionPoolDataSource
createPooledConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
Methods inherited from interface javax.naming.Referenceable
getReference
-
Methods inherited from interface javax.sql.XADataSource
createXAConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
-
-
-
Method Detail
-
getFailStep
public String getFailStep()
-
setFailStep
public void setFailStep(String failStep)
-
getFailCount
public int getFailCount()
-
setFailCount
public void setFailCount(int failCount)
-
getXAConnection
public XAConnection getXAConnection() throws SQLException
We'll override this method so that we can insert our own class as a wrapper around the XAConnection served up by the super class.- Specified by:
getXAConnection
in interfaceXADataSource
- Overrides:
getXAConnection
in classcom.ibm.db2.jcc.DB2XADataSource
- Throws:
SQLException
-
-