fix(ConnectionFactory): altera senha do banco de dados para 'admin'
parent
5862aabf61
commit
342df61b42
|
@ -22,7 +22,7 @@ public class ConnectionFactory {
|
|||
public static Connection getConnectionDrive() throws SQLException{
|
||||
try{
|
||||
Class.forName("org.postgresql.Driver");
|
||||
return DriverManager.getConnection("jdbc:postgresql://localhost:5432/agtemplate","postgres","postgres");
|
||||
return DriverManager.getConnection("jdbc:postgresql://localhost:5432/agtemplate","postgres","admin");
|
||||
}catch (ClassNotFoundException e){
|
||||
throw new SQLException(e.getMessage());
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue