OPENJPA-522. Backporting r652035 to trunk.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@666895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2008-06-11 23:23:33 +00:00
parent 96dd926f4a
commit 6f6634bbad
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ import java.util.Collection;
import java.util.EnumSet;
import java.util.Map;
import java.util.HashMap;
import java.util.IdentityHashMap;
import javax.persistence.EntityManager;
import javax.persistence.FlushModeType;
import javax.persistence.LockModeType;
@ -84,7 +85,7 @@ public class EntityManagerImpl
private DelegatingBroker _broker;
private EntityManagerFactoryImpl _emf;
private Map<FetchConfiguration,FetchPlan> _plans =
new HashMap<FetchConfiguration,FetchPlan>(1);
new IdentityHashMap<FetchConfiguration,FetchPlan>(1);
private RuntimeExceptionTranslator ret =
PersistenceExceptions.getRollbackTranslator(this);