JDBC and inet type

Поиск
Список
Период
Сортировка
От Tim Smith
Тема JDBC and inet type
Дата
Msg-id CA+HuS5Hk=rxq7do0J9AeTcXkMz2WwU-zHkHK3AKF_7k+eg2BxQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: JDBC and inet type  (rob stone <floriparob@gmail.com>)
Re: JDBC and inet type  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
Hi,

When I use "preparedStatement.setString(5,ip);" to send values to a
stored function, it obviously gets sent to postgres as "character
varying".

Postgres obviously complains loudly and says " Hint: No function
matches the given name and argument types. You might need to add
explicit type casts.".

What is the appropriate workaround ?

Thanks!

Tim


В списке pgsql-general по дате отправления:

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: BDR: ALTER statement hanging
Следующее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: plperlu stored procedure seems to freeze for a minute