public static Connection getCon() throws SQLException {
String url = "jdbc:oracle:thin:@host:port:db";
String user = "NAME";
String pwd = "PASS";
oracle.jdbc.pool.OracleConnectionCacheImpl ods =
new oracle.jdbc.pool.OracleConnectionCacheImpl();
ods.setURL(url);
ods.setUser(user);
ods.setPassword(pwd);
return ods.getConnection();
}
"jdbc:oracle:thin:@rechner.ebi.ac.uk:1521:d002"