Experimented with making a semi-generic DAO (but didn't quite succeed). Then made some better progress using an abstract class instead og an interface for the JDBI class.