Archives: DriverManager.getConnection

Java JDBC – Connect to PostgreSQL Database

Download PostgreSQL JDBC Driver:
http://jdbc.postgresql.org/download.html



Java JDBC – Connect to MySQL Database

Download MySQL JDBC Driver:
http://dev.mysql.com/downloads/connector/j/



Java JDBC – Connect to Oracle Database

Get Oracle JDBC Driver:
http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html

Code Snippet: