Advertisement
Guest User

Untitled

a guest
Nov 1st, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. String connectionUrl =
  2. "jdbc:sqlserver://localhost:1433;" +
  3. "databaseName=AdventureWorks;integratedSecurity=true;" +
  4. "encrypt=true; trustServerCertificate=false;" +
  5. "trustStore=storeName;trustStorePassword=storePassword";
  6.  
  7. String connectionUrl =
  8. "jdbc:sqlserver://localhost:1433;" +
  9. "databaseName=AdventureWorks;integratedSecurity=true;" +
  10. "encrypt=true; trustServerCertificate=false;" +
  11. "trustStore=storeName;trustStorePassword=storePassword" +
  12. "hostNameInCertificate=hostName";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement