eclipse « postgresql « Java Database Q&A

1. Postgres JDBC connection in Eclipse Help

I'm trying to get a postgres jdbc connection working in eclipse. It would be nice to use the Data Source Explorer, but for now I'm just trying to get a basic ...

2. How to run this .java file in a web-app as a solo java application just to test it?

package database;

    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import database.Dbconnect;

    public ...

3. Need help with error: java.lang.ClassNotFoundException: org.postgresql.Driver

Hi, I'm doing a project where I need to use a postgres database, and I'm trying to connect to the database but apparently the driver is not visible to the project. This is an extremely weird problem, because I had previously configured another project just like the one I'm doing now as an example, and it could connect to the database ...