I see,thanks.
Next time i will post my new topic about JCA in the JCA forum.
And i hava a question that it still work when not use jdbc driver ping and
<check-valid-connection-sql> statement.Just as following:
<?xml version="1.0" encoding="UTF-8"?>
|
| <!DOCTYPE datasources
| PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
| <datasources>
| <local-tx-datasource>
| <jndi-name>testDs</jndi-name>
| <connection-url>jdbc:mysql://localhost:3306/test</connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <user-name>root</user-name>
| <password>mysql</password>
| <min-pool-size>20</min-pool-size>
| <max-pool-size>50</max-pool-size>
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
Is that right? Or is it the default mechanism of JBoss JNDI ds connection pooling?
Your replay will by most appreciated.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4240977#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...