Package org.hivedb.meta.persistence

Examples of org.hivedb.meta.persistence.ResourceDao.loadAll()


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


  @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
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.