|Re: Failed to map sql result set when execute stored procedure returning cursor [message #754054 is a reply to message #753604]
||Mon, 31 October 2011 15:32
Registered: July 2009
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 : http://wiki.eclipse.org/EclipseLink : http://en.wikibooks.org/wiki/Java_Persistence : http://java-persistence-performance.blogspot.com/
Powered by FUDForum
. Page generated in 0.02212 seconds