// Enable Hibernate's current session context
.setProperty("hibernate.current_session_context_class", "thread")
// Echo all executed SQL to stdout
.setProperty("hibernate.show_sql", CommonUtil.toString(ormConf.logSQL()))
.setProperty("hibernate.format_sql", CommonUtil.toString(ormConf.logSQL()))
// Specifies whether secondary caching should be enabled
.setProperty("hibernate.cache.use_second_level_cache", CommonUtil.toString(ormConf.secondaryCacheEnabled()))
// Drop and re-create the database schema on startup
.setProperty("hibernate.exposeTransactionAwareSessionFactory", "false")
//.setProperty("hibernate.hbm2ddl.auto", "create")