Re: \0 and IllegalArgumentException

Поиск
Список
Период
Сортировка
От Sebastiaan van Erk
Тема Re: \0 and IllegalArgumentException
Дата
Msg-id 20041029114646.GD4199@sebster.com
обсуждение исходный текст
Ответ на Re: \0 and IllegalArgumentException  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
I just tested pg74.215.jdbc3.jar which I just downloaded from
the jdbc.postgresql.org site, and it still gives me the
IllegalArgumentException. Happy to know it has been fixed in the
latest development version.

Greetings,
Sebastiaan van Erk

Oliver Jowett wrote:

> Sebastiaan van Erk wrote:
>
> >I'm using postgres 7.4 with the latest JDBC driver, [...]
>
> >java.lang.IllegalArgumentException: \0 not allowed
>
> Please check your driver version. The latest development driver throws
> SQLException in this case:
>
> >>throw new PSQLException(GT.tr("Zero bytes may not occur in string
> >>parameters."), PSQLState.INVALID_PARAMETER_VALUE);
>
> -O
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: PGobject overhaul (was Re: tightening up on use of oid
Следующее
От: Sebastiaan van Erk
Дата:
Сообщение: ps.setCharacterStream() and memory usage