org.apache.derby.iapi.jdbc
Interface EngineConnection40

All Superinterfaces:
java.sql.Connection, EngineConnection, java.sql.Wrapper
All Known Implementing Classes:
BrokeredConnection40, EmbedConnection40

public interface EngineConnection40
extends EngineConnection

Additional methods exposed on the Connection object for interaction between EmbedConnection and BrokeredConnection. These methods should generally go into the EngineConnection interface, but those that have signatures that are not compatible with all platforms on which EngineConnection needs to work, could go into this interface.

For example, the JDBC 4.1 methods that take a java.util.concurrent.Executor argument, cannot be included in an interface that should be loadable on CDC, and they must go here.


Field Summary
 
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
 
Method Summary
 void abort(java.util.concurrent.Executor executor)
           
 int getNetworkTimeout()
           
 void setNetworkTimeout(java.util.concurrent.Executor executor, int millis)
           
 
Methods inherited from interface org.apache.derby.iapi.jdbc.EngineConnection
addWarning, clearLOBMapping, getCurrentSchemaName, getExceptionFactory, getHoldability, getLOBMapping, getPrepareIsolation, getSchema, isInGlobalTransaction, resetFromPool, setDrdaID, setPrepareIsolation, setSchema
 
Methods inherited from interface java.sql.Connection
clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, 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
 

Method Detail

abort

void abort(java.util.concurrent.Executor executor)
           throws java.sql.SQLException
Throws:
java.sql.SQLException

setNetworkTimeout

void setNetworkTimeout(java.util.concurrent.Executor executor,
                       int millis)
                       throws java.sql.SQLException
Throws:
java.sql.SQLException

getNetworkTimeout

int getNetworkTimeout()
                      throws java.sql.SQLException
Throws:
java.sql.SQLException

Built on Wed 2013-06-12 15:21:56+0000, from revision ???

Apache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.