public interface TimesTenConnection
extends java.sql.Connection
Connection
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE
The value of this property is used as the default LOB prefetch size for this connection.
|
static java.lang.String |
CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE_DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionEventListener(ClientFailoverEventListener listener)
Register Client Failover (ACF) event listener.
|
TimesTenBlob |
createBLOB()
Constructs an object that implements the TimesTenBlob interface.
|
TimesTenClob |
createCLOB()
Constructs an object that implements the TimesTenClob interface.
|
int |
getReplicationTrack()
Retrieves current track for parallel replication.
|
boolean |
getTtPrefetchClose()
Returns the current state of
TT_PREFETCH_CLOSE |
int |
getTtPrefetchCount()
Gets the value of
TT_PREFETCH_COUNT |
boolean |
isDataStoreValid()
Applications can use this light weight method to detect if the data store is valid or not (rather than execute "some SQL" or built-in procedure.
|
void |
removeConnectionEventListener(ClientFailoverEventListener listener)
Remove ACF event listener.
|
void |
setReplicationTrack(int track)
Sets replication track for parallel replication.
|
void |
setTtPrefetchClose(boolean enable)
Sets the state of
TT_PREFETCH_CLOSE to true or false |
void |
setTtPrefetchCount(int count)
Sets the
TT_PREFETCH_COUNT value |
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
static final java.lang.String CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE
static final java.lang.String CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE_DEFAULT
void setTtPrefetchClose(boolean enable) throws java.sql.SQLException
TT_PREFETCH_CLOSE
to true or falseenable
- true to set TT_PREFETCH_CLOSE to true, false to set TT_PREFETCH_CLOSE to false.java.sql.SQLException
- if a database access error occursboolean getTtPrefetchClose() throws java.sql.SQLException
TT_PREFETCH_CLOSE
java.sql.SQLException
- if a database access error occursvoid setTtPrefetchCount(int count) throws java.sql.SQLException
TT_PREFETCH_COUNT
valuecount
- the value to set TT_PREFETCH_COUNT tojava.sql.SQLException
- if a database access error occursint getTtPrefetchCount() throws java.sql.SQLException
TT_PREFETCH_COUNT
TT_PREFETCH_COUNT
valuejava.sql.SQLException
- if a database access error occursboolean isDataStoreValid() throws java.sql.SQLException
java.sql.SQLException
- if a database access error occursvoid addConnectionEventListener(ClientFailoverEventListener listener) throws java.sql.SQLException
listener
- ACF event listenerjava.sql.SQLException
- if a database access error occursClientFailoverEventListener
void removeConnectionEventListener(ClientFailoverEventListener listener) throws java.sql.SQLException
listener
- ACF event listenerjava.sql.SQLException
- if a database access error occursClientFailoverEventListener
void setReplicationTrack(int track) throws java.sql.SQLException
track
- Replication track for parallel replication.java.sql.SQLException
- if a database access error occurs.int getReplicationTrack() throws java.sql.SQLException
java.sql.SQLException
- if a database error occurs.TimesTenBlob createBLOB() throws java.sql.SQLException
java.sql.SQLException
- if an object that implements the Blob interface can not be constructed, this method is called on a closed connection or a database access error occurs.TimesTenClob createCLOB() throws java.sql.SQLException
java.sql.SQLException
- if an object that implements the TimesTenClob interface can not be constructed, this method is called on a closed connection or a database access error occurs.