|Re: Failed to map sql result set when execute stored procedure returning cursor [message #754052 is a reply to message #753602]
||Mon, 31 October 2011 15:32
| James Sutherland
Registered: July 2009
Location: Ottawa, Canada
First of all don't use,|
This is for streaming results, and has nothing to do with stored procedures. If you really wanted to stream results, you would need to set this hint in your named query, not when executing it.
You can't set both of these, either one or the other.
But, since you don't really seem to want objects back, just data, don't set either. Then you do not need a dummy class, and do not need to worry about mapping the result set. You will just get back the data.
James : Wiki : Book : Blog : Twitter
Powered by FUDForum
. Page generated in 0.01790 seconds