Hello,
I have a problem on my Debian 31 box with PostgreSQL 8.1.
This code hangs on DriverManager.getConnection
No log message, nothing.
Any help appreciated!
Thank you
public class Test {
public static void main(String[] args)
throws Exception
{
Properties p = new Properties();
p.setProperty("user", "1234");
p.setProperty("password", "5678");
p.setProperty("loglevel", "org.postgresql.Driver.DEBUG");
Class.forName("org.postgresql.Driver").newInstance();
Connection conn =
DriverManager.getConnection("jdbc:postgresql://localhost:5432/dev", p);
}
}