|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Connection
Vendor based extension.
This interface is for any extension methods we require over the
standard java.sql.Connection
interface to help make our driver work.
This interface and its method/s are not designed for direct public consumption.
The purpose of this interface is to expand functionality to assist the driver in doing its job internally.
Declaring any additional public methods here makes it easier to work with the actual implementation.
EG: you can easily tell whats generic to java.sql.Connection
and whats an extension.
Field Summary |
---|
Fields inherited from interface java.sql.Connection |
---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
Method Summary | |
---|---|
org.apache.commons.httpclient.HttpClient |
getClient()
|
java.lang.String |
getCredentials()
Get the database credentials required to gain access to the remote database server. |
java.lang.String |
getDatabase()
Returns the name of the requested database that was used when this Connection was created. |
int |
getDbType()
Returns the database's numeric type as defined in this Connections Driver class. The numeric type is set based on the request url used to create this Connection. |
boolean |
getSessLimit()
|
int |
getTimeOut()
|
java.lang.String |
getUrl()
Gets the remote URL this Connection is connected to. |
void |
setSessLimit(boolean sessLimit)
|
void |
setTimeOut(int timeOut)
|
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 |
Method Detail |
---|
java.lang.String getCredentials()
int getDbType()
java.lang.String getUrl()
org.apache.commons.httpclient.HttpClient getClient()
int getTimeOut()
void setTimeOut(int timeOut)
timeOut
- the timeout period in msboolean getSessLimit()
void setSessLimit(boolean sessLimit)
sessLimit
- java.lang.String getDatabase()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |