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();