Yup works perfectly.
 
sqlMap.queryForObject("getRefs", map);
System.out.println(map.get("o"));
The above system.out statement prints "ResultSet". I was wanting a collection of java beans. queryForList() doesnt work, it returns am empty List
 


Larry Meadors <larry.meadors@gmail.com> wrote:
http://opensource.atlassian.com/confluence/oss/pages/viewpage.action?pageId=5653

Works perfectly.

Larry


On Wed, May 7, 2008 at 12:12 PM, BalaKishore Pamarti wrote:
> I was just concerned when you said "Its working now" and your code says you
> are getting the List (of beans) directly.
>
> If anyone can show me the code for getting the "List of beans" directly
> instead of "ResultSet" while using oracle stored procedures with REF CURSOR
> as OUT parameter I would appreciate. :)
>
> Cheers!
>
>
> "Peace is found not in what surrounds us, but in what we hold within."
>
> ________________________________
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now.



"Peace is found not in what surrounds us, but in what we hold within."


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.