Procedure A.1. Installing the Driver
- Download the driver from http://www.mysql.com/products/connector/j/. Make sure to choose the driver based on your version of MySQL.
- Expand the driver ZIP or TAR file, and locate the
.jarfile. - Move the
.jarfile into.$JBOSS_HOME/server/config_name/lib - Copy the
example datasource deployer file to$JBOSS_HOMEdocs/examples/jca/mysql-ds.xml, for use as a template.$JBOSS_HOME/server/config_name/deploy/
MySQL limitations
- Millisecond and microsecond measurements
- MySQL does not currently support millisecond and microsecond measurements when returning database values such as
TIMEandTIMESTAMP. Tests which rely on these measurements will fail.