use of com.tomasio.projects.trainning.dao.DefaultDAOFactory in project trainning by fernandotomasio.
the class AnotacaoTeste method main.
public static void main(String[] args) throws DAOException {
DAOFactory factory = new DefaultDAOFactory();
CursoDAO cursoDAO = factory.getCursoDAO();
System.out.println(cursoDAO.findAll(null, null, null, null).size());
System.out.println("ok");
}
Aggregations