Re: [INTERFACES] JDBC compile error

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Pap Tibor <papt(at)edasz(dot)hu>
Cc: Peter T Mount <peter(at)maidast(dot)demon(dot)co(dot)uk>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] JDBC compile error
Date: 1998-07-27 09:38:55
Message-ID: Pine.LNX.3.96.980727103702.934C-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Mon, 27 Jul 1998, Pap Tibor wrote:

> 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;

Ah, I didn't know you had this one.

This is caused by the java.math.BigDecimal class being missing from the
JDK's classes.zip file. The first thing is to check that you have the most
recent release of the JDK (or of the individual version of, ie 1.1.3v1 has
problems, but 1.1.3v2 is ok).

--
Peter T Mount peter(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter(at)maidstone(dot)gov(dot)uk

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-07-27 09:46:04 Re: [INTERFACES] simple JDBC --> can't get started
Previous Message Sergei Barbarash 1998-07-27 09:02:29 Translation DLL for ODBC