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
Re: JDBC and inet type
Список 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 по дате отправления: