This content has been marked as final.
Show 2 replies
-
1. Re: Switching Datasource
danb99 Nov 28, 2003 10:32 AM (in response to danb99)Dan, haven't you ever heard of XDoclet? Try adding a tag like this to your bean:
* @jboss.persistence datasource = "MySqlDS"
That should take care of your problem. -
2. Re: Switching Datasource
danb99 Nov 28, 2003 7:52 PM (in response to danb99)Dan, thanks for the suggestion. That sounded like a good idea. But after adding that tag my CMP entity bean is still using the Hypersonic data source. The MySQL datasource is OK - I can look it up and use it via JNDI, but I cannot get my CMP bean to use the MySql datasource instead of the Hypersonic one. Any further suggestions?