Обсуждение: TypeCast: util.list to array type

Поиск
Список
Период
Сортировка

TypeCast: util.list to array type

От
beulah prasanthi
Дата:



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