first of all ... i don't know english very vell and sorry about it ..... then ...
i have a function in oracle like that :
create or replace function sf_SearchStudent(
nID in number
return MyPackage.CursorType is
open Result for select * from STUDENT where ID=nID;
and it's working fine but from java i wrote code like that :