Re: JDBC and arrays

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC and arrays
Дата
Msg-id Pine.BSO.4.64.0702021158370.19418@leary2.csoft.net
обсуждение исходный текст
Ответ на Re: JDBC and arrays  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Ответы Re: JDBC and arrays  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Список pgsql-jdbc

On Fri, 2 Feb 2007, Miroslav Šulc wrote:

> Thank you for explanation. If I still want to write inet[] data, is it
> sufficient to implement PGobject so it returns 'inet[]' type and '{ "ip",
> "ip" }' value and pass that to setObject()?

That should work although you'll probably need to write _inet
instead of inet[].  The underscore variant is the the backend's true
datatype name and I'm not sure if it will accept the other version in this
context.

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

Предыдущее
От: Russell Francis
Дата:
Сообщение: Re: JDBC and arrays
Следующее
От: "Wm.A.Stafford"
Дата:
Сообщение: out of memory error