aspose file tools
The moose likes JDBC and the fly likes Unable to retrieve metadata for procedure. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply 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: 2343

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
ITIL foundation
Jaidev Arer
Ranch Hand

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