Possibly the new early binding functionality (in the TRUNK) will allow for you to use generic typing for your lists then you wouldn't need to cast them. But, that is an untested suggestion.
Brandon On 5/27/05, Larry Meadors <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > > > > >