pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pap Tibor <papt@edasz.hu>
To: Peter T Mount <peter@retep.org.uk>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] JDBC compile error
Date: Mon, 27 Jul 1998 09:08:54 +0100
Message-ID: <19980727100854.45960@op.edasz.hu> (raw)
In-Reply-To: <Pine.LNX.3.96.980723184207.1291J-100000@maidast.retep.org.uk>
References: <19980723091009.06706@op.edasz.hu>
	<Pine.LNX.3.96.980723184207.1291J-100000@maidast.retep.org.uk>

On Thu, Jul 23, 1998 at 06:44:17PM +0100, Peter T Mount wrote:
> # unset CLASSPATH
> 
> then run make. These errors are caused by javac getting confused by both
> the postgresql and java.sql packages
> 
> This is covered in the README and in the faq
> 
Yes, I have read the README, but:

papipc# unset CLASSPATH
papipc# echo $CLASSPATH

papipc# 
papipc# make

postgresql/CallableStatement.java:213: Method redefined with different
return type: postgresql.BigDecimal getBigDecimal(int, int) was
java.math.BigDecimal
getBigDecimal(int, int)
  public BigDecimal getBigDecimal(int parameterIndex, int scale)
                    ^
./postgresql/PreparedStatement.java:0: Class java.math.BigDecimal not
found in type declaration.
package postgresql;
^
./postgresql/PreparedStatement.java:27: class postgresql.PreparedStatement
must be declared abstract. It does not define void setBigDecimal(int,
java.math.BigDecimal) from interface java.sql.PreparedStatement.
public class PreparedStatement extends Statement implements
java.sql.PreparedStatement 

[...]

./postgresql/DatabaseMetaData.java:2058: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
    return new ResultSet(connection, f, v, "OK", 1);
           ^
./postgresql/DatabaseMetaData.java:2433: class postgresql.ResultSet is an
abstract class. It can't be instantiated.
    return new ResultSet(connection, f, v, "OK", 1);
           ^
21 errors
make: *** [postgresql/CallableStatement.class] Error 1


So, I got the same errors!

--Tibor

-- 
---------.Sig--------
Tibor Pap <papt@edasz.hu>
---------------------



view thread (6+ messages)  latest in thread

Message-ID: <19980727100854.45960@op.edasz.hu>
Permalink:  ../19980727100854.45960@op.edasz.hu/
Also on:    postgresql.org/message-id/19980727100854.45960@op.edasz.hu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: papt@edasz.hu, peter@retep.org.uk
  Subject: Re: [INTERFACES] JDBC compile error
  In-Reply-To: <19980727100854.45960@op.edasz.hu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox