Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jdbc:sqlserver://localhost:1433;databaseName=WIN_AUTHDB;integratedSecurity=true
- properties.put("background-validation", "true");
- properties.put("hibernate.c3p0.idle_test_period", "3600");
- properties.put("hibernate.hbm2ddl.auto", "update");
- properties.put("hibernate.max_fetch_depth", "3");
- properties.put("hibernate.connection.driver_class", "com.microsoft.sqlserver.jdbc.SQLServerDriver");
- properties.put("hibernate.connection.url","jdbc:sqlserver://localhost:1433;databaseName=WIN_AUTHDB;integratedSecurity=true");
- Persistence.createEntityManagerFactory("instanceTest", initProperties(properties));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement