Compiling jdbc for Linux and Solaris - Mailing list pgsql-interfaces

From Kent Perrier
Subject Compiling jdbc for Linux and Solaris
Date
Msg-id 371C8746.89D2879B@pgs.com
Whole thread Raw
List pgsql-interfaces
I am attempting to compile the jdbc interface for postgresql 6.4.2 on
Solaris (using jsdk 2, aka jdk 1.2) or linux (using the blackdown
jdk1.2).  I have postgresql installed on both machines.  Here is a
representation of the errors I am getting for each platform:

Linux:
[postgres:/usr/local/src/postgresql-6.4.2/src/interfaces/jdbc]$ make
javac postgresql/CallableStatement.java
postgresql/CallableStatement.java:37: class postgresql.CallableStatement
must be declared abstract. It does not define void setClob(int,
java.sql.Clob) from interface java.sql.PreparedStatement.
public class CallableStatement extends PreparedStatement implements
java.sql.CallableStatement
                         ^

Solaris 2.6:
[/export/home/postgres/jdbc]$ make
javac postgresql/CallableStatement.java
postgresql/CallableStatement.java:37: class postgresql.CallableStatement
must be declared abstract. It does not define java.sql.Time getTime(int,
java.util.Calendar) from interface java.sql.CallableStatement.
public class CallableStatement extends PreparedStatement implements
java.sql.CallableStatement
                         ^

Has anyone else been able to get this compiled?  If so, can you help me
out (or send me your bytecompiled jdbc drivers)?

Kent
--
work hard, save aggressively, invest well and get the hell out

pgsql-interfaces by date:

Previous
From: Matthew Hagerty
Date:
Subject: Re: [INTERFACES] Compiling a function
Next
From: "Gene Selkov, Jr."
Date:
Subject: Re: [INTERFACES] Compiling a function