Fwd: exception in plsql

Поиск
Список
Период
Сортировка
От Ravi
Тема Fwd: exception in plsql
Дата
Msg-id bf8f49251002220603m6ab7091boedf75028a80fd5d9@mail.gmail.com
обсуждение исходный текст
Ответ на Re: exception in plsql  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: Fwd: exception in plsql
Список pgsql-bugs
---------- Forwarded message ----------
From: Ravi <nm.ravi2005@gmail.com>
Date: Mon, Feb 22, 2010 at 7:31 PM
Subject: Re: [BUGS] exception in plsql
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>


when I tried to use the toArray method to extract exception raised saying

org.postgresql.util.PSQLException: Cannot cast an instance of
[Ljava.lang.Object; to type Types.ARRAY

-Ravi


On Mon, Feb 22, 2010 at 6:46 PM, Kevin Grittner <Kevin.Grittner@wicourts.gov
> wrote:

> beulah prasanthi  wrote:
>
> > org.postgresql.util.PSQLException: Cannot cast an instance of
> > java.util.ArrayList to type Types.ARRAY*
>
> An ArrayList is not an array -- it is a List implementation which
> uses an array, internally.  What happens if you use the toArray
> method to extract an array from the List and pass that in?
>
> -Kevin
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>



--
Ravi.T
BayLogic Technologies India Pvt. Ltd.
Vizag.



--
Ravi.T
BayLogic Technologies India Pvt. Ltd.
Vizag.

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: exception in plsql
Следующее
От: Tim Bunce
Дата:
Сообщение: Re: BUG #5334: Version 2.22 of Perl Safe module breaks UTF8 PostgreSQL 8.4