Commons DBCP
JavaでJDBCをつかったDB接続 参照系 // PostgreSQL JDBC Driverのロード Class.forName("org.postgresql.Driver"); Connection conn = null; Statement stmt = null; try { // 接続 conn = DriverManager.getConnection("jdbc:postgresql://localhost:5432/T…
JavaでJDBCをつかったDB接続 参照系 // PostgreSQL JDBC Driverのロード Class.forName("org.postgresql.Driver"); Connection conn = null; Statement stmt = null; try { // 接続 conn = DriverManager.getConnection("jdbc:postgresql://localhost:5432/T…