RE: Current CVS will not compile - Mailing list pgsql-jdbc

From Dave Cramer
Subject RE: Current CVS will not compile
Date
Msg-id 011901c12a6b$ca256480$c201a8c0@inspiron
Whole thread Raw
In response to Current CVS will not compile  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-jdbc
I can try to have a look at this later tonight.

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Bruce Momjian
Sent: August 21, 2001 11:35 AM
To: PostgreSQL jdbc list
Subject: [JDBC] Current CVS will not compile


Can someone look at current CVS and send me a patch so it compiles
again?  Not sure about the case but it may have to do with Array.

------------------------------------------------------------------------
---

compile:
    [javac] Compiling 3 source files to
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/build
    [javac]
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postg
resql/jdbc2/CallableStatement.java:311: The method
org.postgresql.jdbc2.Array getArray(int) declared in class
org.postgresql.jdbc2.CallableStatement cannot override the method of the
same signature declared in interface java.sql.CallableStatement.  They
must have the same return type.
    [javac]     public Array getArray(int i) throws SQLException
    [javac]                  ^
    [javac]
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postg
resql/jdbc2/Connection.java:106: class
org.postgresql.jdbc2.PreparedStatement is an abstract class. It can't be
instantiated.
    [javac]     PreparedStatement s = new PreparedStatement(this,sql);
    [javac]                           ^
    [javac]
/usr/var/local/src/gen/pgsql/CURRENT/pgsql/src/interfaces/jdbc/org/postg
resql/jdbc2/PreparedStatement.java:32: class
org.postgresql.jdbc2.PreparedStatement must be declared abstract. It
does not define void setArray(int, java.sql.Array) from interface
java.sql.PreparedStatement.
    [javac] public class PreparedStatement extends Statement implements
java.sql.PreparedStatement
    [javac]              ^
    [javac] 3 errors

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania
19026

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl



pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: [INTERFACES] Bad BigDecimal
Next
From: Ned Wolpert
Date:
Subject: Re: Couple of patches for jdbc driver