1 21 package oracle.toplink.essentials.internal.ejb.cmp3; 23 24 import java.util.Map ; 25 26 import javax.persistence.EntityManager; 27 import javax.persistence.EntityManagerFactory; 28 import javax.persistence.PersistenceContextType; 29 30 import oracle.toplink.essentials.threetier.ServerSession; 31 import oracle.toplink.essentials.jndi.JNDIConnector; 32 import oracle.toplink.essentials.internal.localization.ExceptionLocalization; 33 34 46 47 50 public class EntityManagerFactoryImpl 51 extends oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl 52 implements EntityManagerFactory 53 { 54 55 59 public EntityManagerFactoryImpl(ServerSession serverSession) { 60 super(serverSession); 61 } 62 63 67 public EntityManagerFactoryImpl(EntityManagerSetupImpl setupImpl, Map properties) { 68 super(setupImpl, properties); 69 } 70 71 75 public EntityManager createEntityManager() { 76 return (EntityManager) createEntityManagerImpl(false); 77 } 78 79 83 public EntityManager createEntityManager(Map properties) { 84 return (EntityManager) createEntityManagerImpl(properties, false); 85 } 86 87 protected oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl createEntityManagerImplInternal(Map properties, boolean extended) { 89 return new EntityManagerImpl(this, properties, false, extended); 90 } 91 } 92 | Popular Tags |