Package net.sf.hajdbc.state.simple

Examples of net.sf.hajdbc.state.simple.SimpleStateManagerFactory


  }

  @Test
  public void simple() throws Exception
  {
    test(new SimpleStateManagerFactory());
  }
View Full Code Here


    DataSourceDatabaseClusterConfiguration config = new DataSourceDatabaseClusterConfiguration();
   
    config.setDatabases(Arrays.asList(db1, db2));
    config.setDialectFactory(new HSQLDBDialectFactory());
    config.setDatabaseMetaDataCacheFactory(new SimpleDatabaseMetaDataCacheFactory());
    config.setStateManagerFactory(new SimpleStateManagerFactory());
    config.setDurabilityFactory(new NoDurabilityFactory());

    DataSource ds = new DataSource();
    ds.setCluster("cluster");
    ds.setConfigurationFactory(new SimpleDatabaseClusterConfigurationFactory<javax.sql.DataSource, DataSourceDatabase>(config));
View Full Code Here

  }

  @Test
  public void simple() throws Exception
  {
    this.test(new SimpleStateManagerFactory());
  }
View Full Code Here

    DataSourceDatabaseClusterConfiguration config = new DataSourceDatabaseClusterConfiguration();
   
    config.setDatabases(Arrays.asList(db1, db2));
    config.setDialectFactory(new HSQLDBDialectFactory());
    config.setDatabaseMetaDataCacheFactory(new SimpleDatabaseMetaDataCacheFactory());
    config.setStateManagerFactory(new SimpleStateManagerFactory());
    config.setDurabilityFactory(new NoDurabilityFactory());

    DataSource ds = new DataSource();
    ds.setCluster("cluster");
    ds.setConfigurationFactory(new SimpleDatabaseClusterConfigurationFactory<javax.sql.DataSource, DataSourceDatabase>(config));
View Full Code Here

  }

  @Test
  public void simple() throws Exception
  {
    test(new SimpleStateManagerFactory());
  }
View Full Code Here

TOP

Related Classes of net.sf.hajdbc.state.simple.SimpleStateManagerFactory

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.