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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -