diff options
author | Peter Mount <peter@retep.org.uk> | 2000-04-26 05:32:01 +0000 |
---|---|---|
committer | Peter Mount <peter@retep.org.uk> | 2000-04-26 05:32:01 +0000 |
commit | 39116bfbfcf5d17956dca2a1a424e52488aa3f56 (patch) | |
tree | 6c7f25bdd094cef50ac68900acade6ad8f260703 /src/interfaces/jdbc/example/threadsafe.java | |
parent | 1b266fbccadda2e2c5a82e7f6e8f3fd6b1079ddc (diff) | |
download | postgresql-39116bfbfcf5d17956dca2a1a424e52488aa3f56.tar.gz postgresql-39116bfbfcf5d17956dca2a1a424e52488aa3f56.zip |
Another attempt
Diffstat (limited to 'src/interfaces/jdbc/example/threadsafe.java')
-rw-r--r-- | src/interfaces/jdbc/example/threadsafe.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/jdbc/example/threadsafe.java b/src/interfaces/jdbc/example/threadsafe.java index 48dff108f13..5fbd1ce7307 100644 --- a/src/interfaces/jdbc/example/threadsafe.java +++ b/src/interfaces/jdbc/example/threadsafe.java @@ -5,7 +5,7 @@ import java.sql.*; import java.text.*; // rare in user code, but we use the LargeObject API in this test -import postgresql.largeobject.*; +import org.postgresql.largeobject.*; /** * This example tests the thread safety of the driver. @@ -28,7 +28,7 @@ public class threadsafe String pwd = args[2]; // Load the driver - Class.forName("postgresql.Driver"); + Class.forName("org.postgresql.Driver"); // Connect to database System.out.println("Connecting to Database URL = " + url); @@ -263,7 +263,7 @@ public class threadsafe //st = c.createStatement(); // create a blob - lom = ((postgresql.Connection)c).getLargeObjectAPI(); + lom = ((org.postgresql.Connection)c).getLargeObjectAPI(); oid = lom.create(); System.out.println("Thread 3 has created a blob of oid "+oid); } |