Thank you for your quick answer. But I'm not able to see how this would
solve my problem. Your code example creates the entity manager i an
explicit way and uses RESOURCE_LOCAL as transaction type. Our EJBs must
use JTA and an injected entity manager.
I need a kind of a trick to use a jndi name but not the real name of the
orm.xml file in the persistence.xml
Johannes Hoehne
--
RSC Commercial Services OHG
Wanheimer Strasse 70, D-40468 Duesseldorf
Registergericht: Duesseldorf, HRA 12655