Search in sources :

Example 1 with DrillGridDefinitionDao

use of com.khartec.waltz.data.drill_grid.DrillGridDefinitionDao in project waltz by khartec.

the class DrillGridDefinitionHarness method main.

public static void main(String[] args) {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
    DSLContext dsl = ctx.getBean(DSLContext.class);
    DrillGridDefinitionDao dao = ctx.getBean(DrillGridDefinitionDao.class);
    dao.findAll().stream().forEach(System.out::println);
}
Also used : AnnotationConfigApplicationContext(org.springframework.context.annotation.AnnotationConfigApplicationContext) DSLContext(org.jooq.DSLContext) DrillGridDefinitionDao(com.khartec.waltz.data.drill_grid.DrillGridDefinitionDao)

Aggregations

DrillGridDefinitionDao (com.khartec.waltz.data.drill_grid.DrillGridDefinitionDao)1 DSLContext (org.jooq.DSLContext)1 AnnotationConfigApplicationContext (org.springframework.context.annotation.AnnotationConfigApplicationContext)1