I use 3.1.1.
i am not sure if i understood correct. I want to lookup the
entitymanagerfactory which is associated with the containers
persistence.xml. I think there should be something like
java:/modulename/persistence/xxx just like when i apply
an @PersistenceContext annotation. but i my class i dont have such an
annotation, as it is a normal Java class. So
i only can get access to an entitymanagerfactory via a "global" JNDI name?
if such think exists? :)
a transaction manager i can get via java:appserver/TransactionManager, but
how about an entitymanager or entitymanagerfactory?
Chris
--
[Message sent by forum member 'chris.joelly']
View Post: http://forums.java.net/node/835554