103104105106107108109
if (persistenceUnit == null) { persistenceUnit = getFromXML(); } return new EntityManagerProxy(persistenceUnit); }
122123124125126127128
*/ @Name("") @Produces protected EntityManager createNamed(InjectionPoint ip, EntityManagerConfig config) { String persistenceUnit = ip.getAnnotated().getAnnotation(Name.class).value(); return new EntityManagerProxy(persistenceUnit); }
99100101102103104105
*/ @Default @Produces public EntityManager create(InjectionPoint ip, EntityManagerConfig config) { String persistenceUnit = getPersistenceUnit(ip, config); return new EntityManagerProxy(persistenceUnit); }
104105106107108109110
111112113114115116117
@Name("") @Produces public EntityManager createNamed(InjectionPoint ip, EntityManagerConfig config) { String persistenceUnit = ip.getAnnotated().getAnnotation(Name.class).value(); return new EntityManagerProxy(persistenceUnit); }
90919293949596
if (persistenceUnit == null) { persistenceUnit = persistenceUnitReader.getFromXML(); } return new EntityManagerProxy(persistenceUnit); }
107108109110111112113
*/ @Name("") @Produces protected EntityManager createNamed(InjectionPoint ip) { String persistenceUnit = ip.getAnnotated().getAnnotation(Name.class).value(); return new EntityManagerProxy(persistenceUnit); }