I found Apache Ibatis today wich seems very usefull. see
ibatis.apache.org for details in short it's a framework wich maps SQL
results to Java classes. Configuration and query defenitions are done in
XML files thus enabling you to change queries without recompiling your
java appilication as you would have to do if you're using plain old
style JDBC
check it out