Package org.hibernate.shards.cfg

Examples of org.hibernate.shards.cfg.ConfigurationToShardConfigurationAdapter


      setProperty(prop.getKey().toString(), prop.getValue().toString());
    return this;
  }

  public ShardConfiguration toShardConfig() {
    return new ConfigurationToShardConfigurationAdapter(configure());
  }
View Full Code Here


  private List<ShardConfiguration> getNodeConfigurations() {
    final Map<Integer, Configuration> nodeToHibernateConfigMap = getConfigurationsFromNodes(hive);
    List<ShardConfiguration> configs = Lists.newArrayList();
    for (Configuration hibernateConfig : nodeToHibernateConfigMap.values())
      configs.add(new ConfigurationToShardConfigurationAdapter(hibernateConfig));
    return configs;
  }
View Full Code Here

TOP

Related Classes of org.hibernate.shards.cfg.ConfigurationToShardConfigurationAdapter

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.