From 796111d5252a7d5d9532872370f11aa2b80c98bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melaine=20G=C3=A9rard?= Date: Thu, 28 Nov 2024 10:25:50 +0100 Subject: [PATCH] :sparkles: Fix DB --- .../java/org/camelia/studio/gachamelia/db/HibernateConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/camelia/studio/gachamelia/db/HibernateConfig.java b/src/main/java/org/camelia/studio/gachamelia/db/HibernateConfig.java index 73dd5fc..7341ae6 100644 --- a/src/main/java/org/camelia/studio/gachamelia/db/HibernateConfig.java +++ b/src/main/java/org/camelia/studio/gachamelia/db/HibernateConfig.java @@ -22,7 +22,7 @@ public class HibernateConfig { if (sessionFactory == null) { try { logger.info("Initializing Hibernate SessionFactory"); - Dotenv dotenv = Dotenv.load(); + Dotenv dotenv = org.camelia.studio.gachamelia.utils.Configuration.getInstance().getDotenv(); Properties props = new Properties();