Peter Johnson wrote:DBCP??
For connection to MySQL, you will need a *-ds.xml file for MySQL. There is an example one at docs/examples/jca. Change it to match your database and give it a unique JNDI name.
In your app, you can look up the data source via the JNDI name, and from there get the JDBC session and from there on its is all JDBC.
Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
I am mighty! And this is a mighty small ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|