Examples of connectionFactoryIsTransactional()


Examples of org.datanucleus.store.appengine.DatastoreManager.connectionFactoryIsTransactional()

  }

  @Override
  protected void setTransaction(Transaction tx) {
    DatastoreManager storeMgr = (DatastoreManager) getObjectManager().getStoreManager();
    if (storeMgr.connectionFactoryIsTransactional()) {
      // We need to install our own transaction object here.
      jdotx = new DatastoreJDOTransaction(this, tx);
    } else {
      super.setTransaction(tx);
    }
View Full Code Here

Examples of org.datanucleus.store.appengine.DatastoreManager.connectionFactoryIsTransactional()

  }

  @Override
  protected void setTransaction(Transaction tx) {
    DatastoreManager storeMgr = (DatastoreManager) getObjectManager().getStoreManager();
    if (storeMgr.connectionFactoryIsTransactional()) {
      // We need to install our own transaction object here.
      jdotx = new DatastoreJDOTransaction(this, storeMgr, tx);
    } else {
      super.setTransaction(tx);
    }
View Full Code Here

Examples of org.datanucleus.store.appengine.DatastoreManager.connectionFactoryIsTransactional()

  public DatastoreEntityManager(EntityManagerFactory emf, PersistenceManagerFactory pmf,
      PersistenceContextType contextType) {
    super(emf, pmf, contextType);
    if (tx != null) {
      DatastoreManager storeMgr = (DatastoreManager) getObjectManager().getStoreManager();
      if (storeMgr.connectionFactoryIsTransactional()) {
        // install our own transaction object
        tx = new DatastoreEntityTransactionImpl(om);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.