public class IfxSqliConnReUsableConnection extends IfxSqliConnect implements IfxReUsableConnection
ANSIMODE, ANSIWARN, asfconn, cleaner, cleanerMaximumDelay, cleanerMinimumDelay, cleanerZeroPointPercentage, ConnEst, connInfo, dbName, delimIdent, encoption, externalVersion, fileList, freeclobwithrs, GclEnv, HASLOG, ifxAllowOut, ifxtojava, implicitCache, isOpen, javatoifx, jdbcGeneratedSavepointId_, jdbcGeneratedSavepointNamePrefix__, Noansiwarn, preparedStatementClosedCount, preparedStatementCount, preparedStatementReusedCount, productName, proto, protoClassName, queueOfConnections, replCheck, socketTimedOut, softCloseDone, stmtList, stmtReferenceQueue, stmtWeakReferenceCloseCount, svptList, useCaseCapName, usePut, userNameLOGGING_MODE, MODE_ANSI, NO_DATABASE, NO_LOGGING_MODE, TRANSACTION_LAST_COMMITTED| Constructor and Description |
|---|
IfxSqliConnReUsableConnection() |
IfxSqliConnReUsableConnection(java.lang.String luser,
java.lang.String lpasswd,
IfxPooledConnection fromWhom,
java.lang.String url,
java.util.Properties prop,
java.lang.String dbname) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
In some cases, it is desirable to immediately release a
Connection's database and JDBC resources instead of waiting for
them to be automatically released; the close method provides this
immediate release.
|
protected void |
finalize() |
void |
hardClose()
This is close on the connection in case of error.
|
abort, addToBlobList, addToFileList, addUDTInfo, changeStmtId, clearTransactions, clearWarnings, closeAllResultSets, closeAllStatements, commit, createArrayOf, createBlob, createClob, createNClob, createProto, createSQLXML, createStatement, createStatement, createStatement, createStruct, deleteAllFiles, doesBlobNeedPurge, endMetaDataQuery, freeStatementWeakReferences, getAutoCommit, getAutoFree, getBlobCacheSize, getCachedPreparedStatement, getCatalog, getclEncoding, getClientInfo, getClientInfo, getclLocale, getclLocaleProp, getConnClassName, getConnectionDbName, getDatabaseProductVersion, getDatabaseType, getdbCentury, getdbDate, getdbEncoding, getdbLocale, getdbLocaleProp, getDbName, getDbProductName, getdbTime, getdbTodayDate, getdbTodayStart, getDbVersion, getFetchBufSize, getFPCacheFParam, getFPCacheRoutineId, getGeneratedCursor, getglDate, getglDateTime, getHDRType, getHoldability, getIFX_USEPUT, getIsBigInt, getIsBigSerial, getJDBCTempDir, getJDBCVersion, getLOMode, getMapFloat, getMapReal, getMaxLvarcharSize, getMetaData, getNetworkTimeout, getOPTOFC, getPreparedStatementCache, getProto, getProtoClassName, getProtoTrace, getSchema, getSqlLogicalChar, getSQLStatementOffset, getTrace, getTransactionIsolation, getTrimTrailingSpaces, getTypeMap, getUDTInfo, getUDTInfo, getUDTInfo, getUDTInfo, getURL, getuseDtenv, getUsePut, getUserName, getWarnings, getXnameByXid, inXATransaction, is2GBFetchBufferSupported, is4ByteOffsetSupported, is90303, is9301, isANSI, isANSIJoin, isAutoFree, isAutoGeneratedKeysSupported, isBigintSupported, isClosed, isCommitEnabled, isCommitNeeded, isDbOpen, isDelimIdentSet, isDescribeInputSupported, isDirect, isFPDescribeSupported, isGLS, isHDREnabled, isIEEEM, isInUserTransaction, IsLastCommittedSupported, isLongID, isLvcGtThan2kSupported, isMultipleUdrInOutSupported, isMultipleUdrOutSupported, isNamedParametersSupported, isOnLine, isOnLine5SER, isPAMAuthentication, isPrivateServerEnabled, isReadOnly, isRemove64KLimitSupported, isReplCheckColumnEnabled, isSavepointSupported, isSQBatchSupported, isSysmaster, isUSVER, isValid, isWrapperFor, isXAConnection, isXPS, isXPSVER8_40, isXPSVER8_50, loadUDTba, lockSession, markCursorsToClosed, markStatementAsReleased, nativeSQL, parseIfxLocale, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseBlob, releaseSavepoint, removeFromBlobTable, removeFromStmtList, removeSavepointFromList, resetDatabaseProperties, retCapName, returnEnc, rollback, rollback, scrubConnection, scrubConnectionReleasesAllStatements, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setCommitEnabled, setDatabaseProductVersion, setFPCacheInfo, setHoldability, setIFX_USEPUT, setIsBigInt, setIsBigSerial, setLocale, setNetworkTimeout, SetPrimEVars, setReadOnly, setReplCheckColumnEnabled, setSavepoint, setSavepoint, setSavepointUnique, setSchema, setServerIsolationLevel, setStructInfo, setTransactionIsolation, setTransactionIsolation, setTxnIsolationLvl, setTypeMap, startMetaDataQuery, testLockSession, unlockSession, unwrap, xaSetSerWarnFlagspublic IfxSqliConnReUsableConnection()
throws java.sql.SQLException
java.sql.SQLExceptionpublic IfxSqliConnReUsableConnection(java.lang.String luser,
java.lang.String lpasswd,
IfxPooledConnection fromWhom,
java.lang.String url,
java.util.Properties prop,
java.lang.String dbname)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
IfxSqliConnectNote: A Connection is automatically closed when it is garbage collected. Certain fatal errors also result in a closed Connection.
close in interface IfxReUsableConnectionclose in interface java.lang.AutoCloseableclose in interface java.sql.Connectionclose in class IfxSqliConnectjava.sql.SQLExceptionpublic void hardClose()
throws java.sql.SQLException
IfxReUsableConnectionhardClose in interface IfxReUsableConnectionjava.sql.SQLExceptionprotected void finalize()
finalize in class IfxSqliConnect