Package org.springframework.data.neo4j.transaction

Examples of org.springframework.data.neo4j.transaction.ChainedTransactionManager


    @Bean
  public PlatformTransactionManager transactionManager() {
    if (isUsingCrossStorePersistence()) {
      JpaTransactionManager jpaTm = new JpaTransactionManager(getEntityManagerFactory());
            JtaTransactionManager jtaTm = createJtaTransactionManager();
      return new ChainedTransactionManager(jpaTm, jtaTm);
    }
    else {
            return createJtaTransactionManager();
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.neo4j.transaction.ChainedTransactionManager

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.