|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.wrq.apptrieve.jdbc.ApptrieveConnection
public class ApptrieveConnection
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 |
clearWarnings()
Clears warnings for this connection |
void |
close()
Closes the database connection. |
void |
commit()
The Host Integrator JDBC Driver does not support commit. |
java.sql.Statement |
createStatement()
Creates an ApptrieveStatement object for this connection. |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
This method is not supported by the Host Integrator driver. |
java.sql.Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
This method is not supported by the Host Integrator driver. |
protected void |
finalize()
Performs final cleanup for this object |
boolean |
getAutoCommit()
Determines the auto-commit state of the connection. |
java.lang.String |
getCatalog()
The Host Integrator Driver does not support catalogs. |
int |
getHoldability()
This method is not supported by the Host Integrator driver. |
java.sql.DatabaseMetaData |
getMetaData()
Gets the database metadata object for this connection |
int |
getTransactionIsolation()
Retrieves the transaction isolation level for the connection. |
java.util.Map |
getTypeMap()
This method is not supported by the Host Integrator driver. |
java.sql.SQLWarning |
getWarnings()
The Host Integrator Driver does not support Warnings. |
boolean |
isClosed()
Lets others know the connection status. |
boolean |
isReadOnly()
This method is not supported by the Host Integrator driver. |
java.lang.String |
nativeSQL(java.lang.String sql)
Converts an SQL query into DBMS native format. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql)
Creates a stored procedure call. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
This method is not supported by the Host Integrator driver. |
java.sql.CallableStatement |
prepareCall(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
This method is not supported by the Host Integrator driver. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql)
Returns an SQL pre-compiled statement. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int autoGeneratedKeys)
This method is not supported by the Host Integrator driver. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int[] columnIndexes)
This method is not supported by the Host Integrator driver. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency)
This method is not supported by the Host Integrator driver. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
This method is not supported by the Host Integrator driver. |
java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
java.lang.String[] columnNames)
This method is not supported by the Host Integrator driver. |
void |
releaseSavepoint(java.sql.Savepoint savepoint)
This method is not supported by the Host Integrator driver. |
void |
rollback()
The Host Integrator JDBC Driver does not support transaction rollback. |
void |
rollback(java.sql.Savepoint savepoint)
The Host Integrator JDBC Driver does not support transaction rollback. |
void |
setAutoCommit(boolean autoCommit)
The Host Integrator JDBC Driver does not support commit. |
void |
setCatalog(java.lang.String newcatalog)
The Host Integrator JDBC Driver does not support catalogs. |
void |
setHoldability(int holdability)
This method is not supported by the Host Integrator driver. |
void |
setReadOnly(boolean readOnly)
The Host Integrator JDBC Driver does not support readOnly parameter. |
java.sql.Savepoint |
setSavepoint()
This method is not supported by the Host Integrator driver. |
java.sql.Savepoint |
setSavepoint(java.lang.String name)
This method is not supported by the Host Integrator driver. |
void |
setTransactionIsolation(int level)
This has no meaning to Host Integrator Driver, which is always TRANSACTION_NONE. |
void |
setTypeMap(java.util.Map map)
This method is not supported by the Host Integrator driver. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void clearWarnings()
clearWarnings
in interface java.sql.Connection
Connection.clearWarnings()
public void close() throws java.sql.SQLException
close
in interface java.sql.Connection
java.sql.SQLException
- thrown in the event of any errors.Connection.close()
public void commit() throws java.sql.SQLException
commit
in interface java.sql.Connection
java.sql.SQLException
Connection.commit()
public java.sql.Statement createStatement() throws java.sql.SQLException
createStatement
in interface java.sql.Connection
java.sql.SQLException
Connection.createStatement()
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
createStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.createStatement(int, int)
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
createStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.createStatement(int, int, int)
public boolean getAutoCommit() throws java.sql.SQLException
getAutoCommit
in interface java.sql.Connection
java.sql.SQLException
Connection.getAutoCommit()
public java.lang.String getCatalog() throws java.sql.SQLException
getCatalog
in interface java.sql.Connection
java.sql.SQLException
Connection.getCatalog()
public int getHoldability() throws java.sql.SQLException
getHoldability
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.getHoldability()
public java.sql.DatabaseMetaData getMetaData() throws java.sql.SQLException
getMetaData
in interface java.sql.Connection
java.sql.SQLException
Connection.getMetaData()
public int getTransactionIsolation() throws java.sql.SQLException
getTransactionIsolation
in interface java.sql.Connection
java.sql.SQLException
Connection.getTransactionIsolation()
public java.util.Map getTypeMap() throws java.sql.SQLException
getTypeMap
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.getTypeMap()
public java.sql.SQLWarning getWarnings() throws java.sql.SQLException
getWarnings
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.getWarnings()
public boolean isClosed() throws java.sql.SQLException
isClosed
in interface java.sql.Connection
java.sql.SQLException
Connection.isClosed()
public boolean isReadOnly() throws java.sql.SQLException
isReadOnly
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.isReadOnly()
public java.lang.String nativeSQL(java.lang.String sql) throws java.sql.SQLException
nativeSQL
in interface java.sql.Connection
sql
- java.lang.String - the query which just returned to the caller
java.sql.SQLException
Connection.nativeSQL(java.lang.String)
public java.sql.CallableStatement prepareCall(java.lang.String sql) throws java.sql.SQLException
The call escape for this method is:
{call procedureName(?, ?, ?, ?, ?, ?)}
Where procedureName is a procedure defined in an Host Integrator table. The
call parameters are defined as follows, in order that they appear in the call escape:
prepareCall
in interface java.sql.Connection
sql
- java.lang.String - the sql to use in creating a stored procedure call
java.sql.SQLException
Connection.prepareCall(java.lang.String)
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
prepareCall
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.prepareCall(String, int, int)
public java.sql.CallableStatement prepareCall(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
prepareCall
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.prepareCall(String, int, int, int)
public java.sql.PreparedStatement prepareStatement(java.lang.String sql) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
sql
- java.lang.String - the query to use in creating the pre-compiled statement
java.sql.SQLException
- gets thrown any time this is calledConnection.prepareStatement(java.lang.String)
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.prepareStatement(String, int)
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.prepareStatement(String, int[])
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.prepareStatement(String, int, int)
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.prepareStatement(String, int, int, int)
public java.sql.PreparedStatement prepareStatement(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
prepareStatement
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.prepareStatement(String, String[])
public void releaseSavepoint(java.sql.Savepoint savepoint) throws java.sql.SQLException
releaseSavepoint
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.releaseSavepoint(Savepoint)
public void rollback() throws java.sql.SQLException
rollback
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.rollback()
public void rollback(java.sql.Savepoint savepoint) throws java.sql.SQLException
rollback
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.rollback(Savepoint)
public void setAutoCommit(boolean autoCommit) throws java.sql.SQLException
setAutoCommit
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setAutoCommit(boolean)
public void setCatalog(java.lang.String newcatalog) throws java.sql.SQLException
setCatalog
in interface java.sql.Connection
newcatalog
- java.lang.String - the new catalog to set
java.sql.SQLException
Connection.setCatalog(java.lang.String)
public void setHoldability(int holdability) throws java.sql.SQLException
setHoldability
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setHoldability(int)
public void setReadOnly(boolean readOnly) throws java.sql.SQLException
setReadOnly
in interface java.sql.Connection
java.sql.SQLException
- - always thrown.Connection.setReadOnly(boolean)
public java.sql.Savepoint setSavepoint() throws java.sql.SQLException
setSavepoint
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setSavepoint()
public java.sql.Savepoint setSavepoint(java.lang.String name) throws java.sql.SQLException
setSavepoint
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setSavepoint(String)
public void setTransactionIsolation(int level) throws java.sql.SQLException
setTransactionIsolation
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setTransactionIsolation(int)
public void setTypeMap(java.util.Map map) throws java.sql.SQLException
setTypeMap
in interface java.sql.Connection
java.sql.SQLException
- - always thrownConnection.setTypeMap(Map)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |