@orangy: I think the core module of kwery does the kind of thing you're after (it's what the mapper/dao builds on). However, it's really not much more than a thin layer over JDBC that give a mapping function to transform a result set into arbitrary types