public interface IfmxConnection
extends java.sql.Connection
The IfmxConnection interface contains Informix extensions to the Connection interface.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHDRType()
Get the Server Type information about Informix Server if it is running
in High Availability Data Replication (HDR) mode, whether it is running
in primary secondary or standard mode
|
boolean |
getIFX_USEPUT() |
int |
getSQLStatementOffset()
Get the error offset of last executed/prepared SQL statement
|
IfxUDTInfo |
getUDTInfo(int xid)
Get general information about opaque and distinct types
and detailed information for complex types.
|
IfxUDTInfo |
getUDTInfo(java.lang.String name,
java.lang.String owner)
Get general information about opaque and distinct types
and detailed information for complex types (except for
un-named rows and collections - as these types don't have names)
|
boolean |
isHDREnabled()
Get information about Informix Server whether it is running in High
Availability Data Replication (HDR) mode or not
|
void |
scrubConnection()
Called to return a connection to its original state.
|
boolean |
scrubConnectionReleasesAllStatements()
Called to determine if calling scrubConnection() will release all
Statements.
|
void |
setIFX_USEPUT(boolean enable) |
abort, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap
IfxUDTInfo getUDTInfo(int xid) throws java.sql.SQLException
Get general information about opaque and distinct types and detailed information for complex types.
xid
- The extended id.java.sql.SQLException
IfxUDTInfo getUDTInfo(java.lang.String name, java.lang.String owner) throws java.sql.SQLException
Get general information about opaque and distinct types and detailed information for complex types (except for un-named rows and collections - as these types don't have names)
name
- The data type name.owner
- The owner of the data type (can be null).java.sql.SQLException
int getSQLStatementOffset()
Get the error offset of last executed/prepared SQL statement
boolean isHDREnabled() throws java.sql.SQLException
Get information about Informix Server whether it is running in High Availability Data Replication (HDR) mode or not
java.sql.SQLException
java.lang.String getHDRType() throws java.sql.SQLException
Get the Server Type information about Informix Server if it is running in High Availability Data Replication (HDR) mode, whether it is running in primary secondary or standard mode
java.sql.SQLException
void scrubConnection() throws java.sql.SQLException
Called to return a connection to its original state. scrubConnection() will retain all Statements and reset the connection to its original state. Prior to 2.21.JC3 version, this fuction releases all the Statements and reset the connection to its original state. To determine if Statements are released call scrubConnectionReleasesAllStatements()
java.sql.SQLException
boolean scrubConnectionReleasesAllStatements()
Called to determine if calling scrubConnection() will release all Statements.
java.sql.SQLException
boolean getIFX_USEPUT() throws java.sql.SQLException
java.sql.SQLException
void setIFX_USEPUT(boolean enable) throws java.sql.SQLException
java.sql.SQLException