Package org.hivedb.hibernate

Examples of org.hivedb.hibernate.ConfigurationReader.install()


// TODO remove
public class TerraformingHiveFactory {
  public static Hive colonize(String uri, List<Class<?>> persistedClasses) {
    new HiveConfigurationSchemaInstaller(uri).run();
    ConfigurationReader reader = new ConfigurationReader(persistedClasses);
    reader.install(uri);
    return Hive.load(uri, CachingDataSourceProvider.getInstance());
  }
}
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.