public class IfxXADataSource
extends com.informix.jdbcx.IfxCoreDataSource
implements javax.sql.XADataSource, javax.naming.Referenceable
IfxXADataSource class is the Informix implementation of javax.sql.XADataSource.
DataSource,
XADataSource,
IfxCoreDataSource,
Serialized Form| Constructor and Description |
|---|
IfxXADataSource() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIfxIFX_XASPEC()
Gets the value of Informix specific variable IFX_XASPEC.
|
int |
getIfxIFX_XASTDCOMPLIANCE_XAEND()
Gets the value of Informix specific variable IFX_XASTDCOMPLIANCE_XAEND.
|
java.util.logging.Logger |
getParentLogger() |
javax.naming.Reference |
getReference()
Gets a reference to IfxXAConnectionPooledDataSource object.
|
javax.sql.XAConnection |
getXAConnection()
Attempts to establish a connection to the data source that this
XADataSource object represents.
|
javax.sql.XAConnection |
getXAConnection(java.lang.String uid,
java.lang.String passwd)
Attempts to establish a connection to the data source that this
XADataSource object represents.
|
void |
setIfxIFX_XASPEC(java.lang.String XASPEC_Flag)
Sets the value of Informix specific variable IFX_XASPEC.
|
void |
setIfxIFX_XASTDCOMPLIANCE_XAEND(int flag)
Sets the value of Informix specific variable IFX_XASTDCOMPLIANCE_XAEND
IFX_IFX_XASTDCOMPLIANCE_XAEND
if set to 1 will enable
if set to 0 will disable
server behavior that conforms to the XA+ Specification (1994).
|
addProp, getDatabaseName, getDataSourceName, getDescription, getDsProperties, getEmulateInformixServer, getIfxALLOWREGISTEROUTFORINPARAM, getIfxAPPENDISAM, getIfxCLIENT_LOCALE, getIfxCSM, getIfxDB_LOCALE, getIfxDBCENTURY, getIfxDBDATE, getIfxDBSPACETEMP, getIfxDBTEMP, getIfxDBTIME, getIfxDBUPSPACE, getIfxENABLE_HDRSWITCH, getIfxFET_BUF_SIZE, getIfxGL_DATE, getIfxGL_DATETIME, getIfxIFX_CODESETLOB, getIfxIFX_DIRECTIVES, getIfxIFX_EXTDIRECTIVES, getIfxIFX_FLAT_UCSQ, getIfxIFX_ISOLATION_LEVEL, getIfxIFX_LO_READONLY, getIfxIFX_LOCK_MODE_WAIT, getIfxIFX_PAD_VARCHAR, getIfxIFX_SOC_KEEPALIVE, getIfxIFX_SOC_TIMEOUT, getIfxIFX_TRIMTRAILINGSPACES, getIfxIFX_USE_STRENC, getIfxIFXHOST_SECONDARY, getIfxIFXHOST, getIfxINFORMIXCONRETRY, getIfxINFORMIXCONTIME, getIfxINFORMIXOPCACHE, getIfxINFORMIXSERVER_SECONDARY, getIfxINFORMIXSTACKSIZE, getIfxJDBCTEMP, getIfxLOBCACHE, getIfxNEWCODESET, getIfxNEWLOCALE, getIfxNEWNLSMAP, getIfxNODEFDAC, getIfxOPT_GOAL, getIfxOPTCOMPIND, getIfxOPTOFC, getIfxPATH, getIfxPDQPRIORITY, getIfxPLCONFIG, getIfxPLOAD_LO_PATH, getIfxPORTNO_SECONDARY, getIfxPROTOCOLTRACE, getIfxPROTOCOLTRACEFILE, getIfxPROXY, getIfxPSORT_DBTEMP, getIfxPSORT_NPROCS, getIfxSECURITY, getIfxSQLH_FILE, getIfxSQLH_LOC, getIfxSQLH_TYPE, getIfxSQLIDEBUG, getIfxSSL_PROTOCOLS, getIfxSSLCONNECTION, getIfxSTMT_CACHE, getIfxTRACE, getIfxTRACEFILE, getIfxTRUSTED_CONTEXT, getLoginTimeout, getLogWriter, getOverrideDatabaseProductName, getPassword, getPortNumber, getProp, getProperty, getRoleName, getServerName, getSessionVariables, getUser, isIfxDBANSIWARN, isIfxDELIMIDENT, isIfxENABLE_TYPE_CACHE, isIfxIFX_AUTOFREE, isIfxIFX_USEPUT, isIfxOPTOFC, isIfxUSE_DTENV, readProperties, removeProperty, setAutoCaseSchema, setCursorHoldability, setDatabaseName, setDataSourceName, setDescription, setEmulateInformixServer, setIfxALLOWREGISTEROUTFORINPARAM, setIfxAPPENDISAM, setIfxCLIENT_LOCALE, setIfxCSM, setIfxDB_LOCALE, setIfxDBANSIWARN, setIfxDBCENTURY, setIfxDBDATE, setIfxDBSPACETEMP, setIfxDBTEMP, setIfxDBTIME, setIfxDBUPSPACE, setIfxDELIMIDENT, setIfxDirectConnection, setIfxENABLE_HDRSWITCH, setIfxENABLE_TYPE_CACHE, setIfxFET_BUF_SIZE, setIfxGL_DATE, setIfxGL_DATETIME, setIfxIFX_AUTOFREE, setIfxIFX_CODESETLOB, setIfxIFX_DIRECTIVES, setIfxIFX_EXTDIRECTIVES, setIfxIFX_FLAT_UCSQ, setIfxIFX_ISOLATION_LEVEL, setIfxIFX_LO_READONLY, setIfxIFX_LOCK_MODE_WAIT, setIfxIFX_PAD_VARCHAR, setIfxIFX_PREPAREDSTATEMENT_CACHE_SIZE, setIfxIFX_SOC_KEEPALIVE, setIfxIFX_SOC_TIMEOUT, setIfxIFX_TRIMTRAILINGSPACES, setIfxIFX_USE_STRENC, setIfxIFX_USEPUT, setIfxIFXHOST_SECONDARY, setIfxIFXHOST, setIfxINFORMIXCONRETRY, setIfxINFORMIXCONTIME, setIfxINFORMIXOPCACHE, setIfxINFORMIXSERVER_SECONDARY, setIfxINFORMIXSTACKSIZE, setIfxJDBCTEMP, setIfxLOBCACHE, setIfxNEWCODESET, setIfxNEWLOCALE, setIfxNEWNLSMAP, setIfxNODEFDAC, setIfxOPT_GOAL, setIfxOPTCOMPIND, setIfxOPTOFC, setIfxPATH, setIfxPDQPRIORITY, setIfxPLCONFIG, setIfxPLOAD_LO_PATH, setIfxPORTNO_SECONDARY, setIfxPROTOCOLTRACE, setIfxPROTOCOLTRACEFILE, setIfxPROXY, setIfxPSORT_DBTEMP, setIfxPSORT_NPROCS, setIfxSECURITY, setIfxSQLH_FILE, setIfxSQLH_LOC, setIfxSQLH_TYPE, setIfxSQLIDEBUG, setIfxSSL_PROTOCOLS, setIfxSSLCONNECTION, setIfxSTMT_CACHE, setIfxTRACE, setIfxTRACEFILE, setIfxTRUSTED_CONTEXT, setIfxUSE_DTENV, setIsolationLevelAndLock, setLoginTimeout, setLogWriter, setMetadataUppercaseValues, setOptimizeOpenFetchClose, setOPTOFC, setOverrideDatabaseProductName, setPassword, setPortNumber, setProcessTableNameInResultSets, setRoleName, setServerName, setSessionVariables, setTrustStore, setTrustStorePassword, setUser, toInformixDataSource, toString, writePropertiespublic javax.sql.XAConnection getXAConnection()
throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourcejava.sql.SQLException - if a database-access error occurs.public javax.sql.XAConnection getXAConnection(java.lang.String uid,
java.lang.String passwd)
throws java.sql.SQLException
getXAConnection in interface javax.sql.XADataSourceuser - the data source user on whose behalf the connection
is being madepassword - the user's passwordjava.sql.SQLException - if a database-access error occurs.public javax.naming.Reference getReference()
throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingException - if error occurs in getting the reference.public void setIfxIFX_XASPEC(java.lang.String XASPEC_Flag)
IFX_XASPEC_Flag - if set and valid,
("y", "Y", "n" or "N")
enables or disables conformance. Default IFX_XASPEC is the
System property IFX_XASPEC if set and valid or "n".public java.lang.String getIfxIFX_XASPEC()
public void setIfxIFX_XASTDCOMPLIANCE_XAEND(int flag)
IFX_XASTDCOMPLIANCE_XAEND_Flag - 1 enables other disables conformance.
Default behavior is set by the server and onconfig variables
and can be changed on a connection basis by setting this variablepublic int getIfxIFX_XASTDCOMPLIANCE_XAEND()
public java.util.logging.Logger getParentLogger()
throws java.sql.SQLFeatureNotSupportedException
getParentLogger in interface javax.sql.CommonDataSourcejava.sql.SQLFeatureNotSupportedException