[jboss-user] [JBoss Seam] - Re: multiple data sources

pete.muir@jboss.org do-not-reply at jboss.com
Fri Oct 12 15:27:59 EDT 2007


"gstacey" wrote : I'm looking into overriding EntityManagerFactory to possibly create the correct Entitymanager on login (when the source is chosen) and put it into the session at that point.  Does this seem like a viable approach?

I would put the correct EntityManagerFactory into the session scope and then keep you peristence context in the conversation scope as normal.

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

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



More information about the jboss-user mailing list