Advertisement
Guest User

Untitled

a guest
Jun 15th, 2016
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. String DB_CONNECTION_STR = "jdbc:hsqldb:mem:MySpecialTestDb";
  2. String DB_USERNAME_STR = "sa";
  3. String DB_USERNAME_PASSWORD = "";
  4. DriverManager.getConnection(DB_CONNECTION_STR, DB_USERNAME_STR, DB_USERNAME_PASSWORD);
  5.  
  6. String DB_CONNECTION_STR = "jdbc:hsqldb:mem:AnotherTestDb";
  7. String DB_USERNAME_STR = "sa"; // could use different here, doesn't matter
  8. String DB_USERNAME_PASSWORD = "";
  9. DriverManager.getConnection(DB_CONNECTION_STR, DB_USERNAME_STR, DB_USERNAME_PASSWORD);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement