}
private static final class AccMapper implements RowMapper<AccPersonalise> {
public AccPersonalise mapRow(ResultSet rs, int rowNum)
throws SQLException {
AccPersonalise acc = new AccPersonalise();
acc.setId(rs.getInt("id"));
acc.setNom(rs.getString("libelle"));
acc.setOrigineEtat(rs.getInt("origineEtat"));
acc.setIdUser(rs.getLong("idUser"));
try {
acc.setCount(rs.getInt("apByType"));
acc.setIdEleve(rs.getInt("idEleve"));
} catch (SQLException ex) {
}
return acc;
}