Re: JDBC and arrays
От | Miroslav Šulc |
---|---|
Тема | Re: JDBC and arrays |
Дата | |
Msg-id | 45C4E585.5080305@startnet.cz обсуждение исходный текст |
Ответ на | Re: JDBC and arrays (Miroslav Šulc <miroslav.sulc@startnet.cz>) |
Список | pgsql-jdbc |
I got it. I read it as string and then I parse the string to get the values. -- Miroslav Šulc Miroslav Šulc napsal(a): > I got writing of inet[] working through object that implements > PGobject (you were right, it works only with _inet), but I cannot read > inet[]. I thought I'll get String[] through getArray(index).getArray() > but instead I get an exception on getArray(index). What is the correct > way to read inet[]? > > Caused by: org.postgresql.util.PSQLException: Method > org.postgresql.jdbc3g.Jdbc3gArray.getArrayImpl(long,int,Map) is not > implemented. > at org.postgresql.Driver.notImplemented(Driver.java:728) > at > org.postgresql.jdbc2.AbstractJdbc2Array.getArrayImpl(AbstractJdbc2Array.java:228) > > at > org.postgresql.jdbc2.AbstractJdbc2Array.getArray(AbstractJdbc2Array.java:71) > > at > cz.startnet.utils.java.sql.ResultSetUtils.getValue(ResultSetUtils.java:253) > > > -- > Miroslav Šulc
В списке pgsql-jdbc по дате отправления: