When building database ORM code, I prefer to use ebean, and I prefer to use DAO's. Since DAO's are simple to make generic, I have a Generic DAO I use for all projects. I've finally decided to open-source my DAO code, and you can find it here https://github.com/teverett/ebean-dao.