[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple datasources to one database. Effectiveness?

espinosa_cz do-not-reply at jboss.com
Tue Nov 20 10:15:09 EST 2007


What if one application (EAR) uses multiple datasources for different appliciation parts (modules, EJB jars) but only one physical database (Oracle) let's say from legacy reasons. Different entities can use different datasources in single transaction. Everything works but how much is this solution effective?

Are there any hidden costs for such configuration?
How inteligent is EntityManager to handle such case?
Aren't unnecessary 2PCs (two phase commit) triggered?

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

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



More information about the jboss-user mailing list