summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2000-10-09 16:48:19 +0000
committerBruce Momjian <bruce@momjian.us>2000-10-09 16:48:19 +0000
commita4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15 (patch)
tree8cbafa34e4105e182bc203530d29c965af327ce0 /src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
parentc4ccc6146bfe2d20140da2e388e0d62b41c96f9b (diff)
downloadpostgresql-a4e3943b3fe6b4fdbca58d5fb41bbafd22a92c15.tar.gz
Back out Gunnar R|nning jdbc changes.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java')
-rw-r--r--src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
index c00b418865..48e304da2a 100644
--- a/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
+++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java
@@ -17,7 +17,7 @@ import org.postgresql.largeobject.*;
import org.postgresql.util.*;
/**
- * $Id: Connection.java,v 1.3 2000/10/08 19:37:55 momjian Exp $
+ * $Id: Connection.java,v 1.4 2000/10/09 16:48:18 momjian Exp $
*
* A Connection represents a session with a specific database. Within the
* context of a Connection, SQL statements are executed and results are
@@ -138,9 +138,9 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
if (this.autoCommit == autoCommit)
return;
if (autoCommit)
- ExecSQL(null, "end");
+ ExecSQL("end");
else
- ExecSQL(null, "begin");
+ ExecSQL("begin");
this.autoCommit = autoCommit;
}
@@ -170,9 +170,9 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
{
if (autoCommit)
return;
- ExecSQL(null, "commit");
+ ExecSQL("commit");
autoCommit = true;
- ExecSQL(null, "begin");
+ ExecSQL("begin");
autoCommit = false;
}
@@ -188,9 +188,9 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
{
if (autoCommit)
return;
- ExecSQL(null, "rollback");
+ ExecSQL("rollback");
autoCommit = true;
- ExecSQL(null, "begin");
+ ExecSQL("begin");
autoCommit = false;
}
@@ -316,11 +316,11 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
switch(level) {
case java.sql.Connection.TRANSACTION_READ_COMMITTED:
- ExecSQL(null, q + " READ COMMITTED");
+ ExecSQL(q + " READ COMMITTED");
return;
case java.sql.Connection.TRANSACTION_SERIALIZABLE:
- ExecSQL(null, q + " SERIALIZABLE");
+ ExecSQL(q + " SERIALIZABLE");
return;
default:
@@ -336,7 +336,7 @@ public class Connection extends org.postgresql.Connection implements java.sql.Co
*/
public int getTransactionIsolation() throws SQLException
{
- ExecSQL(null, "show xactisolevel");
+ ExecSQL("show xactisolevel");
SQLWarning w = getWarnings();
if (w != null) {