mirror of https://github.com/apache/openjpa.git
Put an entity manager as the user object in a broker
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1354226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
11b8035ace
commit
91c9e23478
|
@ -131,7 +131,7 @@ public class EntityManagerImpl
|
|||
_emf = factory;
|
||||
_broker = new DelegatingBroker(broker, _ret);
|
||||
_broker.setImplicitBehavior(this, _ret);
|
||||
|
||||
_broker.putUserObject(JPAFacadeHelper.EM_KEY, this);
|
||||
_convertPositionalParams =
|
||||
factory.getConfiguration().getCompatibilityInstance().getConvertPositionalParametersToNamed();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue