use of org.finos.waltz.data.user_agent_info.UserAgentInfoDao in project waltz by khartec.
the class UserAgentInfoHarness method main.
public static void main(String[] args) {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(DIConfiguration.class);
UserAgentInfoDao userLoginDao = ctx.getBean(UserAgentInfoDao.class);
DSLContext dsl = ctx.getBean(DSLContext.class);
List<UserAgentInfo> infos = userLoginDao.findLoginsForUser("admin", 10);
System.out.println(infos);
userLoginDao.save(infos.get(0));
}
Aggregations