RE: Current CVS will not compile

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Bruce Momjian'" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "'PostgreSQL jdbc list'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: Current CVS will not compile
Date: 2001-08-21 18:04:58
Message-ID: 011901c12a6b$ca256480$c201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I can try to have a look at this later tonight.

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)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(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Ned Wolpert 2001-08-21 18:09:34 Re: Couple of patches for jdbc driver
Previous Message Barry Lind 2001-08-21 16:45:19 Re: Bad BigDecimal