summaryrefslogtreecommitdiff
path: root/java/sql/Connection.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/sql/Connection.java')
-rw-r--r--java/sql/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/sql/Connection.java b/java/sql/Connection.java
index 993c1f66f..8d986aa1b 100644
--- a/java/sql/Connection.java
+++ b/java/sql/Connection.java
@@ -34,7 +34,7 @@ import java.util.Map;
*
* @author Aaron M. Renn (arenn@urbanophile.com)
*/
-public abstract interface Connection
+public interface Connection
{
/**
@@ -385,7 +385,7 @@ getTransactionIsolation() throws SQLException;
/*************************************************************************/
/**
- * This method returns the current transaction isolation mode. This must
+ * This method sets the current transaction isolation mode. This must
* be one of the constants defined in this interface.
*
* @param level The transaction isolation level.
@@ -393,7 +393,7 @@ getTransactionIsolation() throws SQLException;
* @exception SQLException If an error occurs.
*/
public abstract void
-getTransactionIsolation(int level) throws SQLException;
+setTransactionIsolation(int level) throws SQLException;
/*************************************************************************/