[JDBC] JDBC array support - Mailing list pgsql-jdbc

From juanmarianofuentes
Subject [JDBC] JDBC array support
Date
Msg-id 1542CDD5-A487-4557-8FA7-E8C70A338012@gmail.com
Whole thread Raw
Responses Re: [JDBC] JDBC array support  (Jorge Solórzano <jorsol@gmail.com>)
List pgsql-jdbc
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
arraysof 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)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc

pgsql-jdbc by date:

Previous
From: Zemian Deng
Date:
Subject: [JDBC] [pgjdbc/pgjdbc] 888420: fix: Correct DatabaseMetaData.getFunctions()imple...
Next
From: Jorge Solórzano
Date:
Subject: Re: [JDBC] JDBC array support