DB connection pool count


It is possible to get the DB pool connection active count? I'm having errors on my server with the following message "TObjectPool...Cannot retrieve object from object pool" on service operations and I want to check if my service operation does free the connection ok.

Thanks in advance,

Omar Zelaya

Current that is not possible to retrieve the number of active connections in the pool. But one way to debug your code is set the pool with a size of 1. If your service operation is not returning the connection to the pool, as second try to retrieve a connection from the pool should fail.