Re: Exception storing ipaddress with JBoss after upgrade to

Поиск
Список
Период
Сортировка
От Joost Kraaijeveld
Тема Re: Exception storing ipaddress with JBoss after upgrade to
Дата
Msg-id 1127847189.3745.9.camel@Panoramix
обсуждение исходный текст
Ответ на Re: Exception storing ipaddress with JBoss after upgrade to 8.0-312.jdbc3  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Exception storing ipaddress with JBoss after upgrade to
Список pgsql-jdbc
Hi Dave,

On Tue, 2005-09-27 at 09:48 -0400, Dave Cramer wrote:
> Joost,
>
> The new driver uses server side prepared statements and is much more
> particular about the types being sent.
>
> You can force v2 protocol, or create a PGInet type extending PGObject
I do not really understand why: the postgresql log file shows that the
error is happening at the backend where no Java is running (and I can
also not remember that I had to write special code in ODBC: I just send
a string with a correct ip address and the database backend converted it
to a inet, but that was long ago and I may remember wrong). All examples
in the postgresql docs (e.g. example 11-1 setting up a partial index)
where the inet type is used an ordinary string is passed to the backend.


--
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl



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

Предыдущее
От: Alfredo Rico
Дата:
Сообщение: Re: Trouble with PreparedStatement.setBinaryData or setBytes()
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Exception storing ipaddress with JBoss after upgrade to