Is there a way to get the active connections from the connection Pool.
can i close the connection when using connection ppol. will the connection be automatically returned to connection pool.
As per my knowledge there is no way to get the active connection count. It Internal to the container to judge on how many connections to keep. Still you can find the Maximum no. of connections allowed in the container setting. If there is a limit at database side on number of connections allowed you can tweak the connection pool settings to match it.