Menu

#1002 DBTerminal PostgreSQL settings are wrong

open
nobody
None
5
2008-04-15
2008-04-15
No

The PostgreSQL driver classname is wrong and it builds the wrong JDBC connection URI. The fix is to update some strings in DBTerminal\dbterminal\databases\PostGreSQL.java. A diff of the fix I made is below:

*** PostGreSQL.java Mon Jan 19 14:51:04 2004
--- PostGreSQL.java.fixed Tue Apr 15 17:49:49 2008
***************
*** 10,16 ****
*/
public class PostGreSQL extends AbstractDatabase {
public PostGreSQL() {
! super("PostGreSQL", "postgres", "postgresql.Driver");
}

/**
--- 10,16 ----
*/
public class PostGreSQL extends AbstractDatabase {
public PostGreSQL() {
! super("PostGreSQL", "postgresql", "org.postgresql.Driver");
}

/**

Discussion


Log in to post a comment.