private <T extends DAOImpl> T construct(Class<T> daoType) { T dao = null; try { dao = daoType.newInstance(); dao.setConfiguration(jooq.configuration()); } catch (InstantiationException | IllegalAccessException ignore) { } return dao; }