From: juanmarianofuentes <juanmarianofuentes@gmail.com>
To: Jorge Solórzano <jorsol@gmail.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC array support
Date: Wed, 8 Nov 2017 19:39:32 +0100
Message-ID: <CD417756-CCBF-43DC-9ACD-D9F6122EB6FD@gmail.com> (raw)
In-Reply-To: <CA+cVU8OwP9fYEHC7hLqPe8Se-QMWhoYAdW7QLWVPyHS5ECUVHA@mail.gmail.com>
References: <1542CDD5-A487-4557-8FA7-E8C70A338012@gmail.com>
<CA+cVU8OwP9fYEHC7hLqPe8Se-QMWhoYAdW7QLWVPyHS5ECUVHA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Thanks Jorge,
Hope it makes it to the official release soon.
Juan
> On Nov 8, 2017, at 7:27 PM, Jorge Solórzano <jorsol@gmail.com> wrote:
>
> There is a PR pending of review: https://github.com/pgjdbc/pgjdbc/pull/887 <https://github.com/pgjdbc/pgjdbc/pull/887;
>
> Jorge Solórzano
>
>
> On Wed, Nov 8, 2017 at 12:17 PM, juanmarianofuentes <juanmarianofuentes@gmail.com <mailto:juanmarianofuentes@gmail.com>> wrote:
> Dear all,
>
> I’m new to this list, I hope to get some support regarding the JDBC driver since I’m developing a middleware using Postgresql.
>
> I have successfully use the driver to set Object arrays.
> preparedStatement.setArray(parameterIndex, connection.createArrayOf(sqlType, (Object[]) parameter));
>
> The issue here, is that I see myself forced to create object arrays when I could perfectly manage this use case using arrays of basic types, been that way more memory efficient.
>
> I hope somebody with more experience can point me on the right direction.
>
> Thanks in advance,
> Juan
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org <mailto:pgsql-jdbc@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc <http://www.postgresql.org/mailpref/pgsql-jdbc;
>
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: juanmarianofuentes@gmail.com, jorsol@gmail.com
Subject: Re: JDBC array support
In-Reply-To: <CD417756-CCBF-43DC-9ACD-D9F6122EB6FD@gmail.com>
References: <1542CDD5-A487-4557-8FA7-E8C70A338012@gmail.com> <CA+cVU8OwP9fYEHC7hLqPe8Se-QMWhoYAdW7QLWVPyHS5ECUVHA@mail.gmail.com> <CD417756-CCBF-43DC-9ACD-D9F6122EB6FD@gmail.com>
* 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