java - Is the EclipseLink EntityManagerFactory thread safe? -
is eclipselink entitymanagerfactory thread safe?
is safe entitymanagerfactory.createentitymanager() in multi-threaded environment obtain entitymanager per method call?
thanks
the implementation of eclipselink entitymanagerfactory
:
org.eclipse.persistence.internal.jpa.entitymanagerfactoryimpl
uses delegate ...
org.eclipse.persistence.internal.jpa.entitymanagerfactorydelegate
and none of entitymanagerfactorydelegate
apis thread safe. so, entitymanagerfactory api not thread safe.
Comments
Post a Comment