Getting primitive array types from resultset - Mailing list pgsql-jdbc

From Juan Fuentes
Subject Getting primitive array types from resultset
Date
Msg-id 6BA36202-05D3-4C77-B6B0-47E3BA99116C@gmail.com
Whole thread Raw
Responses Re: Getting primitive array types from resultset
List pgsql-jdbc
As the subject indicates, any examples of how to archive this?

Looking at the 42.2.0 release change-log links I have been able to find how to set them on a preparedStatement using:
preparedStatement.setObject(paramIndex, param, Types.ARRAY);

Getting them seems to not to work.
value = resultSet.getObject("arrayColumnName", int[].class);
org.postgresql.util.PSQLException: conversion to class [I from 2,003 not supported

Juan

pgsql-jdbc by date:

Previous
From: Jorge Solorzano
Date:
Subject: [pgjdbc/pgjdbc] 354d28: fix: error on Travis build head (#1186)
Next
From: Hari Babu Kommi
Date:
Subject: [pgjdbc/pgjdbc] f78a63: fix: set the loggerName inConnectionFactoryImpl.l...