mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-21 15:33:03 +03:00
[ANY] Reformat code in hibernate
This commit is contained in:
parent
80cb28852f
commit
3199b66219
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ public void init(LaunchServer server) {
|
||||||
.setProperty("hibernate.connection.username", username)
|
.setProperty("hibernate.connection.username", username)
|
||||||
.setProperty("hibernate.connection.password", password)
|
.setProperty("hibernate.connection.password", password)
|
||||||
.setProperty("hibernate.connection.pool_size", pool_size);
|
.setProperty("hibernate.connection.pool_size", pool_size);
|
||||||
if(dialect != null)
|
if(dialect != null)
|
||||||
cfg.setProperty("hibernate.dialect", dialect);
|
cfg.setProperty("hibernate.dialect", dialect);
|
||||||
if(hibernateConfig != null)
|
if(hibernateConfig != null)
|
||||||
cfg.configure(Paths.get(hibernateConfig).toFile());
|
cfg.configure(Paths.get(hibernateConfig).toFile());
|
||||||
userDAO = new HibernateUserDAOImpl(cfg.buildSessionFactory());
|
userDAO = new HibernateUserDAOImpl(cfg.buildSessionFactory());
|
||||||
|
|
Loading…
Reference in a new issue