Hello!
AFAIK the whole idea with JPA is to have one data source per ejb-jar-file (but I might
have misunderstood everything). If you need to persist data into several schemas you have
to create a "super/delegating" ejb that will lookup the correct ejb to use for
persistence.
So, you have to make your business logic in one ejb, then a lookup on a (local SLSB) ejb
to actually use when persisting your data.
Kind regards
/Oskar
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094363#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...