Tornado Query is a persistence framework heavily influenced by mybatis, without the XML. It sports automatic CRUD based on Mappers that translate SQL result sets to domain objects, and lets you use your domain objects as parameters to queries.
NOTE: Even though Tornado Query can save you a lot of time for example by creating the join part of your queries, the main focus is still to let YOU write your SQL, your way, without interference. If you know SQL, there is little extra you need to know to use Tornado Query efficiently.
Add Tornado Query to your Maven project:
<dependency> <groupId>no.tornado</groupId> <artifactId>query</artifactId> <version>1.0.3</version> </dependency>
Check out the source:
svn checkout https://opensource.subversion.no/query/trunk query