|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference 11g Release 2 (11.2.2) E21647-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TimesTenConnection
Provides TimesTen extensions to java.sql.Connection
Connection| Field Summary | |
|---|---|
static java.lang.String |
CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZEThe 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 |
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Method Summary | |
|---|---|
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 |
| Methods inherited from interface java.sql.Connection |
|---|
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
static final java.lang.String CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE
static final java.lang.String CONNECTION_PROPERTY_DEFAULT_LOB_PREFETCH_SIZE_DEFAULT
| Method Detail |
|---|
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 occurs
boolean getTtPrefetchClose()
throws java.sql.SQLException
TT_PREFETCH_CLOSEjava.sql.SQLException - if a database access error occurs
void 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 occurs
int getTtPrefetchCount()
throws java.sql.SQLException
TT_PREFETCH_COUNTTT_PREFETCH_COUNT valuejava.sql.SQLException - if a database access error occurs
boolean isDataStoreValid()
throws java.sql.SQLException
java.sql.SQLException - if a database access error occurs
void 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.
|
Oracle® TimesTen In-Memory Database JDBC Extensions Java API Reference 11g Release 2 (11.2.2) E21647-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||