From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Current CVS will not compile |
Date: | 2001-08-21 15:34:48 |
Message-ID: | 200108211534.f7LFYmV13681@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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/postgresql/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/postgresql/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/postgresql/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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert B. Easter | 2001-08-21 16:03:21 | Serialize and object-oriented features |
Previous Message | Steve Wampler | 2001-08-21 14:46:08 | Re: Unable to connect to database |