*
The moose likes JDBC and the fly likes Unable to retrieve metadata for procedure. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unable to retrieve metadata for procedure." Watch "Unable to retrieve metadata for procedure." New topic
Author

Unable to retrieve metadata for procedure.

Jaidev Arer
Ranch Hand

Joined: Mar 12, 2010
Posts: 38
I am calling a stored procedure from my dao object. But i am getting the Unable to retrieve metadata for procedure. error
Dao code

If the stored procedure is executed at the back end its working properly. The problem i am facing is during calling it from the java(front end)
Error


Please guide.
Thanks
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

This post on another forum says you have to call a stored procedure (i.e.: put a call before the procedure name).


... StoredProcedure = "{ call oxy ...

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
Jaidev Arer
Ranch Hand

Joined: Mar 12, 2010
Posts: 38
Thanks a lot.
You made my day. was debugging this from past two hours.
 
Don't get me started about those stupid light bulbs.
 
subject: Unable to retrieve metadata for procedure.
 
Similar Threads
java.net.SocketException: Broken pipe
Call Stored Procedure Returning Cursor as Output
. java.lang.IllegalArgumentException: callable not yet supported for native queries
java.lang.IllegalArgumentException: The path of an ForwardConfig cannot be null
Retrieiving OUT parameters & return value from a Sybase Stored Procedure