aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/jdbc/postgresql/jdbc2/Connection.java')
-rw-r--r--src/interfaces/jdbc/postgresql/jdbc2/Connection.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/postgresql/jdbc2/Connection.java b/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
index 53e1bd65295..7e086435b20 100644
--- a/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
+++ b/src/interfaces/jdbc/postgresql/jdbc2/Connection.java
@@ -17,7 +17,7 @@ import postgresql.largeobject.*;
import postgresql.util.*;
/**
- * $Id: Connection.java,v 1.1 1999/01/17 04:51:56 momjian Exp $
+ * $Id: Connection.java,v 1.2 1999/05/18 23:17:26 peter Exp $
*
* A Connection represents a session with a specific database. Within the
* context of a Connection, SQL statements are executed and results are
@@ -96,7 +96,7 @@ public class Connection extends postgresql.Connection implements java.sql.Connec
*/
public java.sql.CallableStatement prepareCall(String sql) throws SQLException
{
- throw new SQLException("Callable Statements are not supported at this time");
+ throw new PSQLException("postgresql.con.call");
// return new CallableStatement(this, sql);
}
@@ -311,7 +311,7 @@ public class Connection extends postgresql.Connection implements java.sql.Connec
*/
public void setTransactionIsolation(int level) throws SQLException
{
- throw new SQLException("Transaction Isolation Levels are not implemented");
+ throw postgresql.Driver.notImplemented();
}
/**