Hi All,
I wonder if anybody else has faced this problem but, we are facing the following issue:
* Connection object from the JBoss connection pool setting below:
<local-tx-datasource>
<jndi-name>DefaultDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/einstix</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<security-domain>EncryptDBPassword</security-domain>
<type-mapping>mySQL</type-mapping>
</local-tx-datasource>
* For a simple query of retrieving about 15000 records from a simple table takes upto 12 mins to process
Any suggestion what could be the problem.
Also note that if the same query is made using a connection obtained directly using the standard JDBC DriverManager.getConnection(), results processed within less than 30secs.