Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CallableStatement registerOutParameter for CLOB  RSS feed

 
Karthikeyan Rajendraprasad
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i am using oracle thin driver to connect to the 9i database. i have a procedure that returns a CLOB. when i tried to set the registerOutParameter as oracle.jdbc.driver.OracleTypes.CLOB or java.sql.Types.CLOB i get an error saying PLS-00306: wrong number or types of arguments in call

can anybody help me out
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37230
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karthikeyan,
Can you post the signature of your stored proc and the code to set the parameters?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!