JDBC and inet type - Mailing list pgsql-general

From Tim Smith
Subject JDBC and inet type
Date
Msg-id CA+HuS5Hk=rxq7do0J9AeTcXkMz2WwU-zHkHK3AKF_7k+eg2BxQ@mail.gmail.com
Whole thread Raw
Responses Re: JDBC and inet type
Re: JDBC and inet type
List 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 by date:

Previous
From: Andreas Kretschmer
Date:
Subject: Re: BDR: ALTER statement hanging
Next
From: "Peter J. Holzer"
Date:
Subject: Re: plperlu stored procedure seems to freeze for a minute