use of org.finos.waltz.data.person.PersonDao in project waltz by khartec.
the class PersonHarness method main.
public static void main(String[] args) {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
PersonDao personDao = ctx.getBean(PersonDao.class);
Map<PersonKind, Integer> count = personDao.countAllUnderlingsByKind("wibble");
System.out.printf("count: %s\n", count);
}
Aggregations