This content has been marked as final.
Show 1 reply
-
1. Re: EJB cmp Saving the data in mySql
milowe Mar 11, 2005 7:41 AM (in response to da_andrea)1. Define a DataSource and drop the xml file in your deploy directory. You can find a mysql example in JBOSS_HOME/docs/examples/jca/mysql-ds.xml
2. Get the jdbc jar and drop it somewhere in classpath, for instance in the lib directory of the server config you are running.
3. Set persitence xdoclet attributes for your CMP bean @ejb.persistence , @jboss.persistence , ...
....
Or edit the ejb-jar.xml and jbosscmp-jdbc.xml manually.