aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/example/basic.java
diff options
context:
space:
mode:
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);