2 Replies Latest reply on Jan 27, 2006 12:23 PM by jaikiran

    Driver class instances, cached in JBoss?

    jaikiran

      I am using JBoss-3.2.3 and have deployed a datasource as follows:

      <?xml version="1.0" encoding="UTF-8"?>
      <datasources>
       <local-tx-datasource>
       <jndi-name>TestDS</jndi-name>
       <connection-url>jdbc:test://10.11.238.4/DATABASE=test_db</connection-url>
       <driver-class>com.db.driver.DriverImpl</driver-class>
       <user-name>test</user-name>
       <password>test</password>
       <min-pool-size>2</min-pool-size>
       <max-pool-size>25</max-pool-size>
       </local-tx-datasource>
      </datasources>


      Does JBoss, cache the instances of the driver class, i.e. in this case instances of com.db.driver.DriverImpl. If there is some other datasource on the same server which also uses the same driver class, then does JBoss use the same instance of the driver class, for both these datasources?