Ravi wrote:
> 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
OK, that looks like an array, so I'm now a bit lost.
Could you put together a self-contained
-- 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
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 t
show details 5:21 PM (19 minutes ago)
Method in Dao
public void savePerson(Person person, List addresses, List
emails, List numbers){
call.withProcedureName("
person_save1");
Map out = call.execute(new
PGPerson(person),addresses,null,null);
}
*SP in Database*
CREATE OR REPL