[JDBC] JDBC array support

Поиск
Список
Период
Сортировка
От juanmarianofuentes
Тема [JDBC] JDBC array support
Дата
Msg-id 1542CDD5-A487-4557-8FA7-E8C70A338012@gmail.com
обсуждение исходный текст
Ответы Re: [JDBC] JDBC array support
Список 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 по дате отправления:

Предыдущее
От: Zemian Deng
Дата:
Сообщение: [JDBC] [pgjdbc/pgjdbc] 888420: fix: Correct DatabaseMetaData.getFunctions()imple...
Следующее
От: Jorge Solórzano
Дата:
Сообщение: Re: [JDBC] JDBC array support