JBoss Community

Data Source Configuration in AS 7

new comment by David Lloyd View all comments on this document

Gerry Matte wrote:

 

                       

 

It's a small thing but I noticed that when the mysql datasource is created by jboss 7, the console log states it is deploying a non-JDBC-compliant driver class com.mysql.jdbc.Driver (the driver name included in the META-INF/services/java.sql.Driver file).

 

This notation appears with both mysql-connector-java-5.1.15-bin.jar and mysql-connector-java-5.1.17-bin.jar

 

Mysql claims that it's driver is compliant with jdbc 4.0

 

What is causing JBoss to claim the driver isn't jdbc compliant ?

 

                   

We simply ask the driver.  See:

http://download.oracle.com/javase/6/docs/api/index.html?java/sql/Driver.html#jdbcCompliant()