Merge pull request #14 from IUTInfoAix-R202-2022/bug_dao_factory

Utilisation du DAO JPA et non pas Test
This commit is contained in:
Thomas R 2022-06-07 14:47:33 +02:00 committed by GitHub
commit 4a0793217a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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