Re: JDBC array support

From: juanmarianofuentes <juanmarianofuentes(at)gmail(dot)com>
To: Jorge Solórzano <jorsol(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC array support
Date: 2017-11-08 18:39:32
Message-ID: CD417756-CCBF-43DC-9ACD-D9F6122EB6FD@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(at)gmail(dot)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(at)gmail(dot)com <mailto:juanmarianofuentes(at)gmail(dot)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(at)postgresql(dot)org <mailto:pgsql-jdbc(at)postgresql(dot)org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc <http://www.postgresql.org/mailpref/pgsql-jdbc>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solorzano 2017-11-10 21:25:31 [pgjdbc/pgjdbc] f57428: test: querymode extendedCacheEverything (#1007)
Previous Message Jorge Solórzano 2017-11-08 18:27:03 Re: JDBC array support