Examples of JBossTransactionManagerLookup


Examples of org.hibernate.transaction.JBossTransactionManagerLookup

               columnName +
               " = ?";

      // set up transaction manager lookup
      // only JBoss transaction manager is supported
      transactionManagerLookup = new JBossTransactionManagerLookup();

      // set the sequence type that should be returned
      returnClass = type.getReturnedClass();

      // debug chosen configuration
View Full Code Here

Examples of org.infinispan.transaction.lookup.JBossTransactionManagerLookup

    /**
     * @return JBossTransactionManagerLookup if we are in AS7 or JBossStandaloneJTAManagerLookup otherwise
     */
    private TransactionManagerLookup getTransactionManagerLookup() {
        if (new J2EEServerInfo().isJBoss()) {
            return new JBossTransactionManagerLookup();
        } else {
            return new JBossStandaloneJTAManagerLookup();
        }
    }
View Full Code Here

Examples of org.infinispan.transaction.lookup.JBossTransactionManagerLookup

                  configuration.transaction().transactionManagerLookup());
   }

   public final void configurationOverridesShouldOverrideTransactionManagerLookupPropIfExplicitlySet()
         throws Exception {
      final TransactionManagerLookup expectedTransactionManagerLookup = new JBossTransactionManagerLookup();

      final ConfigurationOverrides objectUnderTest = new ConfigurationOverrides();
      objectUnderTest.setTransactionManagerLookup(expectedTransactionManagerLookup);
      final ConfigurationBuilder defaultConfiguration = new ConfigurationBuilder();
      objectUnderTest.applyOverridesTo(defaultConfiguration);
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.