Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql 7.2.1 and getParameterMetaData() fail - Mailing list pgsql-jdbc

From Joel Franco Guzmán
Subject Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql 7.2.1 and getParameterMetaData() fail
Date
Msg-id 20030227034211.GA14388@netlocal.com.br
Whole thread Raw
Responses Re: Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql
Re: Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql 7.2.1
List pgsql-jdbc
Hi,

I'm newbie to PostgreSQL + Java + All :)

All seems to run fine, but the getParameterMetaData() do not.

The envinronment is:

private PreparedStatement updStmt;
String upd = "UPDATE AnswerTable SET pnformid = ?, pnuserid = ? WHERE pnanswerid = ? ";
updStmt = connection.prepareStatement(upd);

I have a function:

int numParameters = updStmt.getParameterMetaData().getParameterCount();

and it fails when i call it.

The e.getMessage() is

    "This method is not yet implemented."

when i run it with java version "1.4.1_01".

With java version "1.3.1_07" i just get "NoSuchMethodError".

Plz, can anyone help me or indicate what could be wrong?

Regards,

--
Joel Franco Guzmán
Infrastructure Manager
3WT - Wireless Web World Tech
joel.franco@3WT.com.br
tel: +55 16 3362-3905
fax: +55 16 3371-9847
cel: +55 16 9787-0478

pgsql-jdbc by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Connection pool deadlock
Next
From: Achilleus Mantzios
Date:
Subject: Mac OSX