This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Empty SQLException on attempt to run a stored procedure  RSS feed

 
N. Ounce
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Progress OpenEdge JDBC driver, and I have written a stored procedure in the database, that checkes if an entered user exists in the ApplicationAdministrators table. When I create a procedure, it shows that there are no errors in it, and the query that I use to get a correct password works fine when run individually.
I call my procedure from my Java Application as follows:


after this line it breaks with an empty SQLException. Why???
Thank you.
 
Josh Juneau
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try to do a getNext() on the resultset?

Usually when working with resultsets you will need to get the next result by making a getNext() call.

Hope this helps...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!