Guest User

Untitled

a guest
Jul 21st, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. String stringConnection = "jdbc:postgresql://" + this.host + ":" + this.port + "/" + this.database;
  2.  
  3. Class.forName("org.postgresql.Driver").newInstance();
  4.  
  5. conn = DriverManager.getConnection(stringConnection, this.user, this.password);
  6.  
  7. //Son las principales líneas de conexión que estoy empleando.
Add Comment
Please, Sign In to add comment