padrão-dao
CRUD with MVC and DAO in PHP
I'm starting with programming and I'm doing a CRUD with MVC and DAO. I would like to know if the form I am doing is correct, ... ton type="submit" class="btn btn-primary">Adicionar</button>
</form>
</div>
</body>
</html>
What is the name of the pattern represented by this class?
I would like to know what kind of class is this DaoDeAutenticacao, whose skeleton I wrote below. Despite the name I do not th ... arme {
private final int id;
private final Fabricante fabricante;
private final Modelo modelo;
// getters
}
Error-java.useful.Date cannot be cast to java.sql.Date when saving data
When trying to write the data to the database, the program points me this exception: java.lang.ClassCastException: java.usefu ... ();
return contatos;
}catch (SQLException e) {
throw new RuntimeException (e);
}
}
}