Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. jdbc:sqlserver://localhost:1433;databaseName=WIN_AUTHDB;integratedSecurity=true
  2.  
  3. properties.put("background-validation", "true");
  4. properties.put("hibernate.c3p0.idle_test_period", "3600");
  5. properties.put("hibernate.hbm2ddl.auto", "update");
  6. properties.put("hibernate.max_fetch_depth", "3");
  7. properties.put("hibernate.connection.driver_class", "com.microsoft.sqlserver.jdbc.SQLServerDriver");
  8. properties.put("hibernate.connection.url","jdbc:sqlserver://localhost:1433;databaseName=WIN_AUTHDB;integratedSecurity=true");
  9.  
  10. Persistence.createEntityManagerFactory("instanceTest", initProperties(properties));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement