| Author |
How Roo work on multiple data sources / JNDI
|
Jenny Sun
Greenhorn
Joined: Sep 12, 2009
Posts: 11
|
|
Is there any difference or convenience that Roo can configure multiple data sources over Spring?
Thanks,
Jenny
|
 |
Ken Rimple
author
Ranch Hand
Joined: Jul 20, 2010
Posts: 63
|
|
See this post on multiple databases from our book forum for some hints. It involves multiple transaction managers with jdbc sources, but I assume you can do the same thing with JNDI and one transaction manager provided the data sources are XA compatible. The biggest issue seems to be cross-database mappings, i am not sure off the cuff that you can do that so you may have to expose the keys and manually navigate those.
|
Ken Rimple
ken.rimple@gmail.com
Co-author, Manning Spring Roo in Action
I teach for Chariot Solutions (Spring, Maven, Hibernate, other courses). Schedule here
|
 |
 |
|
|
subject: How Roo work on multiple data sources / JNDI
|
|
|