Here is a typical spring hibernate dao from my app. I know this could be made much prettier, but i'm a newbe to these technologies. Could you modify for me the dao's Collections using the new j2se 5.0 generics? I also'd like a nice hql instead of the two. I think the relationship of the classes is self explainatory: every team is in a League, and TeamSection contains the information about that.