Package org.apache.aries.jpa.container.context.transaction.impl

Examples of org.apache.aries.jpa.container.context.transaction.impl.JTAEntityManager


          new Object[] {emf, properties});
    }
    EntityManagerFactory factory = (EntityManagerFactory) emf.getBundle().getBundleContext().getService(emf);
   
    if(type == PersistenceContextType.TRANSACTION || type == null)
      return new JTAEntityManager(factory, properties, registry);
    else {
      _logger.error("There is currently no support for extended scope EntityManagers");
      return null;
    }
View Full Code Here


          new Object[] {emf, properties});
    }
    EntityManagerFactory factory = (EntityManagerFactory) emf.getBundle().getBundleContext().getService(emf);
   
    if(type == PersistenceContextType.TRANSACTION || type == null)
      return new JTAEntityManager(factory, properties, registry, activeCount, this);
    else {
      _logger.error("There is currently no support for extended scope EntityManagers");
      return null;
    }
View Full Code Here

            return (EntityManagerFactory) emf.getBundle().getBundleContext().getService(emf);
          }
        });
   
    if(type == PersistenceContextType.TRANSACTION || type == null)
      return new JTAEntityManager(factory, properties, registry, activeCount, this);
    else {
      _logger.error(NLS.MESSAGES.getMessage("extended.em.not.supported"));
      return null;
    }
View Full Code Here

TOP

Related Classes of org.apache.aries.jpa.container.context.transaction.impl.JTAEntityManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.