Re: JDBC and arrays - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: JDBC and arrays
Date
Msg-id Pine.BSO.4.64.0702021158370.19418@leary2.csoft.net
Whole thread Raw
In response to Re: JDBC and arrays  (Miroslav Šulc <miroslav.sulc@startnet.cz>)
Responses Re: JDBC and arrays
List 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 by date:

Previous
From: Russell Francis
Date:
Subject: Re: JDBC and arrays
Next
From: "Wm.A.Stafford"
Date:
Subject: out of memory error