---------- Forwarded message ---------- From: Ravi <[email protected]> Date: Mon, Feb 22, 2010 at 7:31 PM Subject: Re: [BUGS] exception in plsql To: Kevin Grittner <[email protected]>
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 <[email protected] > 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 ([email protected]) > 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.
