@PersistenceContext was already part of JPA 1.0. If Geronimo fully supports
(at least) JEE 5, it should work.

It may be a class loading problem. Is the persistence.xml packaged in the
same JAR holding the session bean? If not, the (deployment?) thread loading
the EJB JAR may no see the persistence.xml, but the thread starting at the
servlet request that calls findUser(...) does.

HTH,
Tobias
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/PersistenceContext-not-working-tp5859331p5859392.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to