ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <Nathan.Ma...@Sun.COM>
Subject Re: Support for generics
Date Sat, 28 May 2005 16:05:49 GMT
Hate to be the rookie, only CVS experience,  but do we have a page the 
explains how to get the source from subversion?


On May 27, 2005, at 9:09 PM, Brandon Goodin wrote:

> yes, build it from the trunk.
>
> On 5/27/05, Nathan Maves <Nathan.Maves@sun.com> wrote:
>> Of course!
>>
>> Do I need to build it from the trunk?
>>
>> Nathan
>>
>> On May 27, 2005, at 8:32 PM, Clinton Begin wrote:
>>
>>>
>>>  I believe the new Mapper binding functionality would resolve 
>>> this....
>>>
>>>  Nathan, are you up for trying it out?
>>>
>>>  Cheers,
>>>  Clinton
>>>
>>>
>>> On 5/27/05, Nathan Maves <Nathan.Maves@sun.com> wrote:
>>>> gets to the DAO layer.
>>>>
>>>> You can cast the List but you will always get the warning for and
>>>> unchecked assignment when the List is returned from the sqlmap.
>>>>
>>>> List<Student> students = (List<Student>)executeQueryForList
>>>> ("getStudents",null);
>>>>
>>>> Looks good but does not resolve the warnings.
>>>>
>>>> Nathan
>>>>
>>>>
>>>> On May 27, 2005, at 2:30 PM, Larry Meadors wrote:
>>>>
>>>>> I have done that with my DAO layer.
>>>>>
>>>>> SqlMap returns it as List, but you can cast it.
>>>>>
>>>>> Worked great. :)
>>>>>
>>>>> Larry
>>>>>
>>>>>
>>>>> On 5/27/05, Nathan Maves < Nathan.Maves@sun.com> wrote:
>>>>>
>>>>>> Since apple is taking then sweet time I just got Java 1.5.I am
>>>>>> diving in head first but I am curious about what the plans for
>>>>>> Generics are.
>>>>>>
>>>>>> Will I batis support them?
>>>>>> Could there be a way to specify the list type instead of Object?
>>>>>>
>>>>>> i.e.
>>>>>> return a List<Student> back based on the result class of the

>>>>>> query?
>>>>>>
>>>>>> Nathan
>>>>>>
>>>>>>
>>>>>
>>>>
>>
>>


Mime
View raw message