A connection (session) with a specific database. Within the context of a Connection, SQL statements are executed and results are returned.
Methods of java.sql.Connection Interface
Method Name |
Support in Open SQL |
Comments |
void clearWarnings() |
|
|
void close() |
|
|
void commit() |
|
|
Statement createStatement(int, int) |
|
|
Statement createStatement() |
|
|
boolean getAutoCommit() |
|
|
String getCatalog() |
|
|
DatabaseMetaData getMetaData() |
|
|
int getTransactionIsolation() |
|
|
Map getTypeMap() |
|
|
SQLWarning getWarnings() |
|
|
boolean isClosed() |
|
|
boolean isReadOnly() |
|
|
String nativeSQL(String) |
|
|
CallableStatement prepareCall(String) |
|
|
CallableStatement prepareCall(String, int, int) |
|
|
PreparedStatement prepareStatement(String) |
|
|
PreparedStatement prepareStatement(String, int, int) |
|
|
void rollback() |
|
|
void setAutoCommit(boolean) |
|
|
voi d setCatalog(String) |
|
|
void setReadOnly(boolean) |
|
|
void setTransactionIsolation(int) |
|
Open SQL supports TRANSACTION_READ_UNCOMMITTED and TRANSACTION_READ_COMMITTED isolation levels. |
void setTypeMap(Map) |
|