I've created connection on java
when I run the programe I get successful message , however in the service tab next to the project tab I can't see the my database connection under the database
// inside method
Connection connection = null;
String url = "jdbc:oracle:thin@serverName";
string name ="test";
string pass ="test"
Class.forName("com.jdbc.jdbc.OracleDriver");
if(connection == null){
Connection con = DriverManager.getConnection(url, name, pass);
}
return connection;