Skip to content
Snippets Groups Projects
Commit dc74aee4 authored by Thomas Mewily's avatar Thomas Mewily
Browse files

a

parent 6643a430
No related branches found
No related tags found
No related merge requests found
Tables :
-profs
-eleves
-gommettes
-gommettesAttrib
-users (id, firstName, lastName)
-profs (id, firstName, lastName, userName)
-eleves (id, firstName, lastName, nomClasse)
-gommettes (id, nom, description)
-gommettesAttrib (id, idEleve, idProf, raison)
\ No newline at end of file
......@@ -17,12 +17,12 @@ public class GommetteAttribDAO extends _Generic<GommetteAttribEntity> {
GommetteAttribEntity entity = new GommetteAttribEntity();
entity.setId(resultSet.getInt("id"));
// entity.setCouleur TODO
entity.setIdEleve(resultSet.getInt("IdEleve"));
entity.setIdProf(resultSet.getInt("IdProf"));
entity.setIdEleve(resultSet.getInt("idEleve"));
entity.setIdProf(resultSet.getInt("idProf"));
entity.setIdGommette(resultSet.getInt("IdGommette"));
entity.setIdGommette(resultSet.getInt("idGommette"));
// entity.setDateAttrib TODO
entity.setRaisonAttribution(resultSet.getString("Raison"));
entity.setRaisonAttribution(resultSet.getString("raison"));
entities.add(entity);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment