a guest Apr 27th, 2018 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- When the driver is loaded, you can establish a connection by using a connection URL and the getConnection method of the DriverManager class:
- String connectionUrl = "jdbc:sqlserver://localhost:1433;" +
- Connection con = DriverManager.getConnection(connectionUrl);
RAW Paste Data