• Post Reply Bookmark Topic Watch Topic
  • New Topic

refcursor ClassCastException

 
john hedden
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone know why this works:
ResultSet rs = (ResultSet)cs.getObject(3);
but this gives ClassCastException:
rs = ((oracle.jdbc.driver.OracleCallableStatement)callableStmt).getCursor(3);
Could it be the App Server, which is WL8.1?
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!