G
gk
We write
Context ctx = new InitialContext()
javax.sql.DataSource ds = (DataSource)ctx.lookup("jdbc/oracleLink");
Connection con = ds.getConnection();
We get connection now. Is there any way to get minimum, current and
maximum number of connections in the pool at this part ?
Context ctx = new InitialContext()
javax.sql.DataSource ds = (DataSource)ctx.lookup("jdbc/oracleLink");
Connection con = ds.getConnection();
We get connection now. Is there any way to get minimum, current and
maximum number of connections in the pool at this part ?