According to google and some other sources (e.g., http://www.enterprisedt.com/publications/oracle/result_set.html), if I want to call a stored-function that returns a ref cu
Have you tried java.sql.Types.OTHER? It might work. API says, it's for database specific types.
java.sql.Types.OTHER
Constant OracleTypes.CURSOR is -10. Quite ugly solution but you can just write -10 there or create your own constant which value is -10.
OracleTypes.CURSOR