Utilisation du DAO JPA et non pas Test

This commit is contained in:
Thomas Rubini 2022-06-07 14:20:05 +02:00
parent f92fb05448
commit fcf63fdf6a
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

@ -163,7 +163,7 @@ public class Controller implements Initializable {
stackPaneFrance.getChildren().add(france); stackPaneFrance.getChildren().add(france);
// init // init
daoFactory = DAOFactoryProducer.getFactory(DAOType.TEST); daoFactory = DAOFactoryProducer.getFactory(DAOType.JPA);
daoDiscipline = daoFactory.createDAODiscipline(); daoDiscipline = daoFactory.createDAODiscipline();
daoThematique = daoFactory.createDAOThematique(); daoThematique = daoFactory.createDAOThematique();
daoUsage = daoFactory.createDAOUsage(); daoUsage = daoFactory.createDAOUsage();