Package com.atomikos.jdbc

Examples of com.atomikos.jdbc.AtomikosDataSourceBean



        // JDBC setup
        JdbcDataSource jdbcDataSource = EmbeddedDataSourceFactory.getJdbcDataSource("sql/schema.sql");

        AtomikosDataSourceBean atomikosDataSourceBean = new AtomikosDataSourceBean();
        atomikosDataSourceBean.setXaDataSource(jdbcDataSource);
        atomikosDataSourceBean.setUniqueResourceName("xa.h2");
        registry.put("atomikos.dataSource", atomikosDataSourceBean);


        // Atomikos setup
        userTransactionManager = new UserTransactionManager();
View Full Code Here


   
    if ("true".equalsIgnoreCase(props.getProperty(PROPERTY_NONXA))) {
      dataSource = new AtomikosNonXADataSourceBean();
    }
    else {
      dataSource = new AtomikosDataSourceBean();
    }
   
    Properties atomikosProperties = filterOutHibernateProperties(props);
    log.info("configuring AtomikosConnectionProvider with properties: " + atomikosProperties);
   
View Full Code Here

    if ("true".equalsIgnoreCase(props.getProperty(PROPERTY_NONXA))) {
      dataSource = new AtomikosNonXADataSourceBean();
    }
    else {
      dataSource = new AtomikosDataSourceBean();
    }

    Properties atomikosProperties = filterOutHibernateProperties(props);
    LOGGER.logInfo("configuring AtomikosConnectionProvider with properties: " + atomikosProperties);
View Full Code Here

   
    if ("true".equalsIgnoreCase(props.getProperty(PROPERTY_NONXA))) {
      dataSource = new AtomikosNonXADataSourceBean();
    }
    else {
      dataSource = new AtomikosDataSourceBean();
    }
   
    Properties atomikosProperties = filterOutHibernateProperties(props);
    log.info("configuring AtomikosConnectionProvider with properties: " + atomikosProperties);
   
View Full Code Here

TOP

Related Classes of com.atomikos.jdbc.AtomikosDataSourceBean

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.