Using Oracle ref cursor in Java without Oracle dependency

后端 未结 2 2032
深忆病人
深忆病人 2021-01-11 17:22

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

2条回答
  •  感动是毒
    2021-01-11 17:48

    Constant OracleTypes.CURSOR is -10. Quite ugly solution but you can just write -10 there or create your own constant which value is -10.

提交回复
热议问题