From: Ricardo Vaz Mannrich <rvm_l1@silcom.com.br>
To: pgsql-jdbc@postgresql.org
Subject: PostgreSQL array vs. JDBC vs. Hibernate
Date: Thu, 13 Jul 2006 10:50:41 -0300
Message-ID: <44B64FB1.3010802@silcom.com.br> (raw)
What is the better way to read and write PostgreSQL array columns with JDBC?
If I have this table:
CREATE TABLE test (
test_id INTEGER NOT NULL PRIMARY KEY,
test_arr VARCHAR[]
);
How can I use PreparedStatements to write test_arr column? What is the
better way to read it?
And most important: how can I do this with Hibernate? I tryed to use a
single Strind column. It's possible to read but I cant write. I'm using
8.1.3.
Thanks.
--
Ricardo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: rvm_l1@silcom.com.br
Subject: Re: PostgreSQL array vs. JDBC vs. Hibernate
In-Reply-To: <44B64FB1.3010802@silcom.com.br>
References: <44B64FB1.3010802@silcom.com.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox