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

Поиск
Список
Период
Сортировка
От Joel Franco Guzmán
Тема Sun J2SE 1.4 + postgresql-jdbc3-7.3.jar + Postgresql 7.2.1 and getParameterMetaData() fail
Дата
Msg-id 20030227034211.GA14388@netlocal.com.br
обсуждение исходный текст
Ответы 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
Список 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 по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: Connection pool deadlock
Следующее
От: Achilleus Mantzios
Дата:
Сообщение: Mac OSX