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

From: Joel Franco Guzmán <joel(dot)franco(at)3WT(dot)com(dot)br>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql 7.2.1 and getParameterMetaData() fail
Date: 2003-02-27 03:42:11
Message-ID: 20030227034211.GA14388@netlocal.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)franco(at)3WT(dot)com(dot)br
tel: +55 16 3362-3905
fax: +55 16 3371-9847
cel: +55 16 9787-0478

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-02-27 05:53:52 Re: SSL for JDBC
Previous Message Takeo Shibata 2003-02-27 00:14:58 Re: SSL for JDBC