Fwd: exception in plsql
От
Ravi
Тема
Fwd: exception in plsql
Дата
Msg-id
bf8f49251002220603m6ab7091boedf75028a80fd5d9@mail.gmail.com
Список
Дерево обсуждения
exception in plsql beulah prasanthi <itsbeulah@gmail.com>
---------- Forwarded message ---------- From: Ravi Date: Mon, Feb 22, 2010 at 7:31 PM Subject: Re: [BUGS] exception in plsql To: Kevin Grittner 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 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 по дате отправления
От: Tim Bunce
Дата: