#502 Reduced amount of information logged

This commit is contained in:
daniel-bryla
2016-11-17 09:54:10 +01:00
parent b37190a214
commit 3091ff21b0
7 changed files with 286 additions and 16 deletions

View File

@ -60,7 +60,7 @@ public final class HibernateUtil {
.setProperty("hibernate.dialect", "org.hibernate.dialect.H2Dialect")
.setProperty("hibernate.connection.url", "jdbc:h2:mem:test;DB_CLOSE_DELAY=-1")
.setProperty("hibernate.current_session_context_class", "thread")
.setProperty("hibernate.show_sql", "true")
.setProperty("hibernate.show_sql", "false")
.setProperty("hibernate.hbm2ddl.auto", "create-drop").buildSessionFactory();
} catch (Throwable ex) {
LOGGER.error("Initial SessionFactory creation failed.", ex);