EOModel stored procedure with custom type
EOModel stored procedure with custom type
- Subject: EOModel stored procedure with custom type
- From: Thomas Pelaia II <email@hidden>
- Date: Wed, 24 Aug 2005 17:20:52 -0400
Has anyone successfully specified a stored procedure in EOModeler which returns a "struct" object of a specified type? I was given a stored procedure to call on an Oracle database and it returns a struct of a custom type. I created the corresponding argument in EOModeler and specified it as a Custom type with the external type being the actual name given to the type. Then I created the custom class for handling it. The problem is that I don't know how to tell it that it is a "struct". A custom type could be a struct, array or other kind and the type doesn't specify that. In JDBC you need both the type name and the kind of object (struct, array, etc.). When I attempt to execute the stored procedure for my output parameter named "access" I get an error during the output parameter registration that says:"Unable to determine JDBC type for attribute 'access' when preparing ouput paramater for stored procedure."
_________ Tom Pelaia, Ph.D., R&D Staff Spallation Neutron Source, Accelerator Systems Division Oak Ridge National Laboratory
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden