abhijeet dharurkar wrote:
>
> session setup failed
> all setings are correct but while running the program from command line
> it gives the error.......
> DriverManager.getConnection("jdbc:postgresql:post","postgres","abhi");
That URL doesn't look right. Here is one that works:
jdbc:postgresql://localhost:5432/postgres
Maybe some of the fields default if not provided. If the URL is not
your issue, then provide the database version and the exact version of
the JDBC driver JAR file you are using.
--
Guy Rouillier