This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When is the Exception thrown in case of Oracle driver when calling a stored procedure

Chad Ford
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all, For executing a stored procedure one does something like the following:

CallableStatement cStmt = Connection.prepareCall(sql);
result = cStmt.getString(index);
Now according to javadoc the Exception can be thrown at either when doing the Connection.prepareCall(..) or when doing the CallableStatement.execute() and its supposed to be depenedent on the driver.
I am using the Oracle driver from but I can't find in the documentation where its supposed to throw the Exception? I think it throws it when one does the CallableStatement.execute() and not when one does the Connection.prepareCall()
Can anyone verify this or point to to some document?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic