Re: j2sdk1.4.0 jdbc compile errors

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: j2sdk1.4.0 jdbc compile errors
Дата
Msg-id 3CBD0A4C.2080403@xythos.com
обсуждение исходный текст
Ответ на j2sdk1.4.0 jdbc compile errors  (Mark Price <prim0001@unf.edu>)
Ответы Re: j2sdk1.4.0 jdbc compile errors  (Mark Price <prim0001@unf.edu>)
Список pgsql-general
Mark,

The jdbc driver currently does not build under jdk1.4.  You will either
need to download a prebuilt jar, or build under jdk1.3.  Either way a
the driver build under 1.3 will run fine under 1.4 as long as you don't
try to use any of the new functionality available in 1.4.

thanks,
--Barry


Mark Price wrote:
> Hello,
> I am attempting to build postgresql-7.2.1 with the jdbc,
> using j2sdk1.4.0 to compile.  It is not working, as detailed
> in the attached file.
> If building with sun's sdk v. 1.3.1, it builds fine without
> changing any configuration (classpath, etc.), just type
> ./configure --use-java
> make
>
> I have a question or two:
>   Is it advantageous to use j2re1.3.1 over 1.4.0 after
> having built with 1.3.1?
>   Is it feasable, and/or a good idea to build with
> j2sdk1.4.0, and is that a stable, reliable option?
>
> Thanks,
> Mark Price
>
>
> ------------------------------------------------------------------------
>
> Script started on Mon Apr 15 19:27:21 2002
> mprice@cricket1:~/pg/postgresql-7.2.1/src/interfaces/jdbc/org$ make
>
> make: *** No targets specified and no makefile found.  Stop.
>
> mprice@cricket1:~/pg/postgresql-7.2.1/src/interfaces/jdbc/org$ cd ../../../
>
> mprice@cricket1:~/pg/postgresql-7.2.1/src$ cd interfaces/jdbc
>
> mprice@cricket1:~/pg/postgresql-7.2.1/src/interfaces/jdbc$ make
>
> /usr/bin/ant -buildfile ./build.xml all \
>
>   -Dmajor=7 -Dminor=2 -Dfullversion=7.2.1 -Ddef_pgport=5432
>
> Buildfile: ./build.xml
>
>
> all:
>
>
> prepare:
>
>
> check_versions:
>
>
> driver:
>
>      [echo] Configured build for the JDBC2 Enterprise edition driver
>
>
> compile:
>
>     [javac] Compiling 37 source files to /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/build
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/Statement.java:25:
org.postgresql.jdbc2.Statementshould be declared abstract; it does not define getMoreResults(int) in
org.postgresql.jdbc2.Statement
>
>     [javac] public class Statement extends org.postgresql.Statement implements java.sql.Statement
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/PreparedStatement.java:32:
org.postgresql.jdbc2.PreparedStatementshould be declared abstract; it does not define setURL(int,java.net.URL) in
org.postgresql.jdbc2.PreparedStatement
>
>     [javac] public class PreparedStatement extends Statement implements java.sql.PreparedStatement
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/CallableStatement.java:42:
org.postgresql.jdbc2.CallableStatementshould be declared abstract; it does not define
registerOutParameter(java.lang.String,int)in org.postgresql.jdbc2.CallableStatement 
>
>     [javac] public class CallableStatement extends org.postgresql.jdbc2.PreparedStatement implements
java.sql.CallableStatement
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/Connection.java:37:
org.postgresql.jdbc2.Connectionshould be declared abstract; it does not define setHoldability(int) in
org.postgresql.jdbc2.Connection
>
>     [javac] public class Connection extends org.postgresql.Connection implements java.sql.Connection
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/DatabaseMetaData.java:40:
org.postgresql.jdbc2.DatabaseMetaDatashould be declared abstract; it does not define supportsSavepoints() in
org.postgresql.jdbc2.DatabaseMetaData
>
>     [javac] public class DatabaseMetaData implements java.sql.DatabaseMetaData
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/jdbc2/ResultSet.java:60:
org.postgresql.jdbc2.ResultSetshould be declared abstract; it does not define getURL(int) in
org.postgresql.jdbc2.ResultSet
>
>     [javac] public class ResultSet extends org.postgresql.ResultSet implements java.sql.ResultSet
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/largeobject/PGblob.java:26:
org.postgresql.largeobject.PGblobshould be declared abstract; it does not define setBytes(long,byte[]) in
org.postgresql.largeobject.PGblob
>
>     [javac] public class PGblob implements java.sql.Blob
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/largeobject/PGclob.java:26:
org.postgresql.largeobject.PGclobshould be declared abstract; it does not define setString(long,java.lang.String) in
org.postgresql.largeobject.PGclob
>
>     [javac] public class PGclob implements java.sql.Clob
>
>     [javac]        ^
>
>     [javac] /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/org/postgresql/xa/ClientConnection.java:70:
org.postgresql.xa.ClientConnectionshould be declared abstract; it does not define setHoldability(int) in
org.postgresql.xa.ClientConnection
>
>     [javac] final class ClientConnection
>
>     [javac]       ^
>
>     [javac] Note: Some input files use or override a deprecated API.
>
>     [javac] Note: Recompile with -deprecation for details.
>
>     [javac] 9 errors
>
>
> BUILD FAILED
>
>
> /home/mprice/pg/postgresql-7.2.1/src/interfaces/jdbc/build.xml:72: Compile failed, messages should have been
provided.
>
>
> Total time: 9 seconds
>
> make: *** [all] Error 1
>
> mprice@cricket1:~/pg/postgresql-7.2.1/src/interfaces/jdbc$ exit
> Script done on Mon Apr 15 19:27:47 2002
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



В списке pgsql-general по дате отправления:

Предыдущее
От: Curt Sampson
Дата:
Сообщение: Re: Mass-Data question
Следующее
От: pgsql-gen Newsgroup (@Basebeans.com)
Дата:
Сообщение: Poor performance with "large" table.