Re: helo

From: Kris Jurka <books(at)ejurka(dot)com>
To: beulah prasanthi <itsbeulah(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-bugs-owner(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: helo
Date: 2010-02-22 17:25:29
Message-ID: alpine.BSO.2.00.1002221224250.571@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

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

In response to

  • helo at 2010-02-22 11:10:41 from beulah prasanthi

Responses

  • Re: helo at 2010-02-22 17:46:09 from Kevin Grittner

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2010-02-22 17:31:46 Re: BUG #5118: start-status-insert-fatal
Previous Message Tom Lane 2010-02-22 17:13:50 Re: BUG #5338: PG_DUMP fails due to invalid adnum value

Browse pgsql-general by date

  From Date Subject
Next Message dipti shah 2010-02-22 17:34:37 Re: What is unsecure postgres languages? How to disable them?
Previous Message Bruce Momjian 2010-02-22 17:15:17 Re: Un successful Restoration of DATA using WAL files