summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/Driver.java.in
diff options
context:
space:
mode:
authorPeter Mount <peter@retep.org.uk>2000-12-20 16:22:49 +0000
committerPeter Mount <peter@retep.org.uk>2000-12-20 16:22:49 +0000
commit751959436cf643aa380fa49964834b7c3de3e59c (patch)
tree42e70e55e362ac829dde03764e2cae955cab447d /src/interfaces/jdbc/org/postgresql/Driver.java.in
parent1d46fb8035ec647dfef03261402160b405cd6062 (diff)
downloadpostgresql-751959436cf643aa380fa49964834b7c3de3e59c.tar.gz
Finished build.xml and updated Driver.java.in and buildDriver to match how Makefile and ANT operate.
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/Driver.java.in')
-rw-r--r--src/interfaces/jdbc/org/postgresql/Driver.java.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/Driver.java.in b/src/interfaces/jdbc/org/postgresql/Driver.java.in
index 40e2a94956..552d188109 100644
--- a/src/interfaces/jdbc/org/postgresql/Driver.java.in
+++ b/src/interfaces/jdbc/org/postgresql/Driver.java.in
@@ -114,7 +114,7 @@ public class Driver implements java.sql.Driver
return null;
try {
- org.postgresql.Connection con = (org.postgresql.Connection)(Class.forName("%JDBCCONNECTCLASS%").newInstance());
+ org.postgresql.Connection con = (org.postgresql.Connection)(Class.forName("@JDBCCONNECTCLASS@").newInstance());
con.openConnection (host(), port(), props, database(), url, this);
return (java.sql.Connection)con;
} catch(ClassNotFoundException ex) {
@@ -192,7 +192,7 @@ public class Driver implements java.sql.Driver
*/
public int getMajorVersion()
{
- return %MAJORVERSION%;
+ return @MAJORVERSION@;
}
/**
@@ -202,7 +202,7 @@ public class Driver implements java.sql.Driver
*/
public int getMinorVersion()
{
- return %MINORVERSION%;
+ return @MINORVERSION@;
}
/**
@@ -210,7 +210,7 @@ public class Driver implements java.sql.Driver
*/
public static String getVersion()
{
- return "%VERSION%";
+ return "@VERSION@";
}
/**