Re: "could not determine data type of parameter" with timestamp

Поиск
Список
Период
Сортировка
Искать
От
Rémi Aubel
Тема
Re: "could not determine data type of parameter" with timestamp
Дата
Msg-id
CAG2M1fc6KD-c6X_Lwi2FU5ttoDuwuv0Wk1AH0J2zxDYHhyHreg@mail.gmail.com
Ответ на
Список
Дерево обсуждения
"could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp rob stone <floriparob@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp "David G. Johnston" <david.g.johnston@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp Brad DeJong <bpd0018@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp "David G. Johnston" <david.g.johnston@gmail.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Re: "could not determine data type of parameter" with timestamp Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
Re: "could not determine data type of parameter" with timestamp Dave Cramer <pg@fastcrypt.com>
Re: "could not determine data type of parameter" with timestamp Rémi Aubel <remi.aubel@gmail.com>
Hi Vladimir,

Thank you for your reply.

Indeed, I already tried with all these combinations:
- PreparedStatement.setNull(_, 1111, "uuid")
- PreparedStatement.setNull(_, 1111, "_uuid")
- PreparedStatement.setNull(_, 2003, "uuid")
- PreparedStatement.setNull(_, 2003, "_uuid")
And none of them work. The driver is still unable to "determine data type of parameter $1" :-(
Which is expected regarding the code.

Do you want me to file an issue?

Rémi


Le mer. 28 mars 2018 à 11:57, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> a écrit :
I believe you should use java.sql.PreparedStatement#setNull(int, int, java.lang.String)

however one can file an issue and/or PR to fix that.

Vladimir
--


В списке pgsql-jdbc по дате отправления
От: Vladimir Sitnikov
Дата:
От: Vladimir Sitnikov
Дата:
FAQ