Re: Array support - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Array support
Date
Msg-id 42681D28.6060408@opencloud.com
Whole thread Raw
In response to Re: Array support  (Kris Jurka <books@ejurka.com>)
Responses Re: Array support
List pgsql-jdbc
Kris Jurka wrote:
>
> On Thu, 21 Apr 2005, Thomas O'Dowd wrote:

>>PS. I looked at trying to use PreparedStatement.setArray() but it takes
>>an java.sql.Array, which is just an Interface. I guess I could try
>>creating a class that implements Array and try passing that to
>>setArray() but I'm not even sure if that would work yet either. The
>>setObject() way suggested by the spec is definitely simpler.
>
>
> That will work although there are some requirements for getBaseTypeName I
> think, it must return the pg specific type name used.

More importantly, toString() has to return the data formatted as the
server expects..

-O

pgsql-jdbc by date:

Previous
From: Vernon
Date:
Subject: What Hibernate Object ID generator is recommanded for PG?
Next
From: Oliver Jowett
Date:
Subject: Re: Interval support for Postgres