aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/example/basic.java
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>2000-04-26 05:32:01 +0000
committerPeter Mount <peter@retep.org.uk>2000-04-26 05:32:01 +0000
commit39116bfbfcf5d17956dca2a1a424e52488aa3f56 (patch)
tree6c7f25bdd094cef50ac68900acade6ad8f260703 /src/interfaces/jdbc/example/basic.java
parent1b266fbccadda2e2c5a82e7f6e8f3fd6b1079ddc (diff)
downloadpostgresql-39116bfbfcf5d17956dca2a1a424e52488aa3f56.tar.gz
postgresql-39116bfbfcf5d17956dca2a1a424e52488aa3f56.zip
Another attempt
Diffstat (limited to 'src/interfaces/jdbc/example/basic.java')
-rw-r--r--src/interfaces/jdbc/example/basic.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/example/basic.java b/src/interfaces/jdbc/example/basic.java
index dbd01d31bac..326c49c0f17 100644
--- a/src/interfaces/jdbc/example/basic.java
+++ b/src/interfaces/jdbc/example/basic.java
@@ -5,12 +5,17 @@ import java.sql.*;
import java.text.*;
/**
+ *
+ * $Id: basic.java,v 1.4 2000/04/26 05:32:00 peter Exp $
+ *
* This example tests the basic components of the JDBC driver, and shows
* how even the simplest of queries can be implemented.
*
* To use this example, you need a database to be in existence. This example
* will create a table called basic.
*
+ * Note: This will only work with post 7.0 drivers.
+ *
*/
public class basic
@@ -25,7 +30,7 @@ public class basic
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);