openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: [jira] Created: (OPENJPA-1653) Why getting null for EntityManagerFactory and EntityManager
Date Wed, 05 May 2010 22:49:14 GMT

Injection of a persistence unit is often a container's (weblogic, in this
case) responsibility. 
Normally, the containers do not/can not inject persistence unit/context in a
entity. Session Bean/Servlet etc are normally the injection target. Depends
of specific capability of the containers.

So you should consult your container provider if the assumed injected unit
is null.

Please wait a while before opening a JIRA. A JIRA is not the right
instrument for a usage query -- let some forum exchanges transpire before we
decide that the discussion merits as a OpenJPA bug.

View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message