Re: helo

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: helo
Дата
Msg-id alpine.BSO.2.00.1002221224250.571@leary.csoft.net
обсуждение исходный текст
Ответ на helo  (beulah prasanthi <itsbeulah@gmail.com>)
Ответы Re: helo  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-bugs

On Mon, 22 Feb 2010, beulah prasanthi wrote:

> Helo
>      I am working on spring project with postgres 8.4
> i wrote a function in postgrees which i am passing the argument email
> email[] array
> From front end we need to insesrt data into that emailarray .so i used
> java.arraylist.util
> while i am running i got the following error Please help me
>
> error: 
> org.postgresql.util.PSQLException: Cannot cast an instance of
> java.util.ArrayList to type Types.ARRAY
>

You need to pass an instance of java.sql.Array, not a Collection or
something else that is array like.

Also please only report an issue once rather than a half dozen times.

Kris Jurka

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5338: PG_DUMP fails due to invalid adnum value
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #5118: start-status-insert-fatal