This content has been marked as final.
Show 2 replies
-
1. Re: How to specify DataSource when using multiple datasource
schaefera Nov 1, 2001 3:53 PM (in response to kevin_duffey)I think you cannot do this with CMP. What you can do is that you create two different CMP-EJBs using the classes but specify two Entity-Beans using two different datasources. Now you can use a SLSB and copy the data from one EB to the other.
Have fun - Andy -
2. Re: How to specify DataSource when using multiple datasource
davidjencks Nov 1, 2001 11:20 PM (in response to kevin_duffey)Note that this will not give you correct transactional semantics unless you have an xa capable driver and you are using its xa capabilities. (i.e, you are using the real XADataSource class rather than jboss's fake XADataSourceImpl in XADataSourceLoader configuration).