Package org.hivedb.meta.persistence

Examples of org.hivedb.meta.persistence.ResourceDao


@Config("hive_default")
public class TestResourcePersistence extends HiveTest {
 
  @Test
  public void testCreate() throws Exception {
    ResourceDao d = new ResourceDao(getDataSource(getConnectString(getHiveDatabaseName())));
    int intitialSize = d.loadAll().size();
    d.create(createResource());
    assertEquals(intitialSize+1,d.loadAll().size());
  }
View Full Code Here

TOP

Related Classes of org.hivedb.meta.persistence.ResourceDao

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.