Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String connectionUrl =
- "jdbc:sqlserver://localhost:1433;" +
- "databaseName=AdventureWorks;integratedSecurity=true;" +
- "encrypt=true; trustServerCertificate=false;" +
- "trustStore=storeName;trustStorePassword=storePassword";
- String connectionUrl =
- "jdbc:sqlserver://localhost:1433;" +
- "databaseName=AdventureWorks;integratedSecurity=true;" +
- "encrypt=true; trustServerCertificate=false;" +
- "trustStore=storeName;trustStorePassword=storePassword" +
- "hostNameInCertificate=hostName";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement