None of these are perfect matches, but both rock, in their own individual way:
- Spring Roo generates DAOs, Web
Controllers and more for you.
- QueryDSL automatically creates Objects from your database tables and offers an Object-Oriented query syntax with compile-time safety.
But I'd say the winner is Spring Data. It offers a simple but powerful abstraction over many different underlying data store technologies and generates daos for you automatically. Here's a presentation of Spring Data JPA. Unfortunately Spring Data has not been released in final versions yet.