I am using JBoss provided connection pooling mechanism. Getting the connection and making db call looks fine. But when getting the data and doing OracleCachedRowSet.populate it is taking lot of time. Is there any reason for this taking time. Could JBoss provided datasource might be the source of the problem??