static < T , ID > Dao < T , ID > createDao ( ConnectionSource connectionSource , Class < T > clazz ) throws SQLException { return new BaseDaoImpl < T , ID > ( connectionSource , clazz ) { } ; }
Helper method to create a Dao object without having to define a class . Dao classes are supposed to be convenient but if you have a lot of classes they can seem to be a pain .