Möjliga orsaker till fel är:(i kodavsnittet - funktion)
1. Paketet "typer" finns inte.
create or replace package types
as
type cursorType is ref cursor;
end;
/
2 Ogiltig SQL select-sats (tabell eller kolumn har tagits bort eller ändrats efter att funktionen skapats).
Du måste skriva en new function med simple sql-satsen och kör den på Sql prompt och med Java kod.