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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869721#3869721

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869721


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to