Re: Get ResultSet using ibatis

2006-02-28 Thread Diran Ayandele
Ashish, Maybe I am not understanding your problem, but I don't see why you can't map your properties in a result map. It certainly meets your criteria of not changing the sql or java class. Anyway it looks like this: Diran Ashish Kulkarni wrote: Hi I a

Re: Get ResultSet using ibatis

2006-02-28 Thread Sven Boden
For your problem forget the IBATIS-53 examples... How about something as: as resultmap mapping from sql to properties. Regards, Sven Ashish Kulkarni wrote: Hi I am still not sure how to use http://issues.apache.org/jira/browse/IBATIS-53 for my soultion. This is my real

Re: Get ResultSet using ibatis

2006-02-28 Thread Ashish Kulkarni
Hi I am still not sure how to use http://issues.apache.org/jira/browse/IBATIS-53 for my soultion. This is my real problem and need to find a work around I have a SQL statement which returns about 50 values, and there a java class with get and set methods, but the data names in SQL statement do n

Re: Get ResultSet using ibatis

2006-02-28 Thread Sven Boden
Hi Ashish, Have a look at http://issues.apache.org/jira/browse/IBATIS-53 for some examples of what you can probably use. It's not really the primary use of iBATIS, but it works ;-) Regards, Sven Ashish Kulkarni wrote: Hi Is it possible to get Resultset as resultClass after running a query

Get ResultSet using ibatis

2006-02-28 Thread Ashish Kulkarni
Hi Is it possible to get Resultset as resultClass after running a query Suppose i have a query like below select * from mytable how do i define in xml file so i can get a resultset as output from it I will parse this resultset into objects i need Ashish __