Added Methods |
Statement createStatement(int, int, int)
|
Creates a Statement object that will generate ResultSet objects with the given type concurrency and holdability. |
int getHoldability()
|
Retrieves the current holdability of ResultSet objects created using this Connection object. |
CallableStatement prepareCall(String, int, int, int)
|
Creates a CallableStatement object that will generate ResultSet objects with the given type and concurrency. |
PreparedStatement prepareStatement(String, int)
|
Creates a default PreparedStatement object that has the capability to retrieve auto-generated keys. |
PreparedStatement prepareStatement(String, int, int)
|
Creates a PreparedStatement object that will generate ResultSet objects with the given type and concurrency. |
PreparedStatement prepareStatement(String, int, int, int)
|
Creates a PreparedStatement object that will generate ResultSet objects with the given type concurrency and holdability. |
PreparedStatement prepareStatement(String, int[])
|
Creates a default PreparedStatement object capable of returning the auto-generated keys designated by the given array. |
PreparedStatement prepareStatement(String, String[])
|
Creates a default PreparedStatement object capable of returning the auto-generated keys designated by the given array. |
void releaseSavepoint(Savepoint )
|
Removes the given Savepoint object from the current transaction. |
void rollback(Savepoint )
|
Undoes all changes made after the given Savepoint object was set. |
void setHoldability(int )
|
Changes the holdability of ResultSet objects created using this Connection object to the given holdability. |
Savepoint setSavepoint()
|
Creates an unnamed savepoint in the current transaction and returns the new Savepoint object that represents it. |
Savepoint setSavepoint(String )
|
Creates a savepoint with the given name in the current transaction and returns the new Savepoint object that represents it. |
Changed Methods |
void clearWarnings()
|
Documentation changed from old to new. |
Clears all warnings reported for this Connection object. |
void close()
|
Documentation changed from old to new. |
Releases this Connection object's database and JDBC resources immediately instead of waiting for them to be automatically released. |
void commit()
|
Documentation changed from old to new. |
Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object. |
boolean getAutoCommit()
|
Documentation changed from old to new. |
Retrieves the current auto-commit mode for this Connection object. |
String getCatalog()
|
Documentation changed from old to new. |
Retrieves this Connection object's current catalog name. |
DatabaseMetaData getMetaData()
|
Documentation changed from old to new. |
Retrieves a DatabaseMetaData object that contains metadata about the database to which this Connection object represents a connection. |
int getTransactionIsolation()
|
Documentation changed from old to new. |
Retrieves this Connection object's current transaction isolation level. |
Map getTypeMap()
|
Documentation changed from old to new. |
Retrieves the Map object associated with this Connection object. |
SQLWarning getWarnings()
|
Documentation changed from old to new. |
Retrieves the first warning reported by calls on this Connection object. |
boolean isClosed()
|
Documentation changed from old to new. |
Retrieves whether this Connection object has been closed. |
boolean isReadOnly()
|
Documentation changed from old to new. |
Retrieves whether this Connection object is in read-only mode. |
String nativeSQL(String )
|
Documentation changed from old to new. |
Converts the given SQL statement into the system's native SQL grammar. |
void setAutoCommit(boolean )
|
Documentation changed from old to new. |
Sets this connection's auto-commit mode to the given state. |
void setCatalog(String )
|
Documentation changed from old to new. |
Sets the given catalog name in order to select a subspace of this Connection object's database in which to work. |
void setReadOnly(boolean )
|
Documentation changed from old to new. |
Puts this connection in read-only mode as a hint to the driver to enable database optimizations. |
void setTransactionIsolation(int )
|
Documentation changed from old to new. |
Attempts to change the transaction isolation level for this Connection object to the one given. |
void setTypeMap(Map )
|
Documentation changed from old to new. |
Installs the given TypeMap object as the type map for this Connection object. |
Statement createStatement()
|
Documentation changed from old to new. |
Creates a Statement object for sending SQL statements to the database. |
Statement createStatement(int, int)
|
Documentation changed from old to new. |
Creates a Statement object that will generate ResultSet objects with the given type and concurrency. |
CallableStatement prepareCall(String )
|
Documentation changed from old to new. |
Creates a CallableStatement object for calling database stored procedures. |
CallableStatement prepareCall(String, int, int)
|
Documentation changed from old to new. |
Creates a CallableStatement object that will generate ResultSet objects with the given type and concurrency. |
PreparedStatement prepareStatement(String )
|
Documentation changed from old to new. |
Creates a PreparedStatement object for sending parameterized SQL statements to the database. |
void rollback()
|
Documentation changed from old to new. |
Undoes all changes made in the current transaction and releases any database locks currently held by this Connection object. |