Esempio n. 1
0
  @Test
  public void testGetTableNames() throws Exception {
    List<String> names = coreJdbcDao.getTableNames();

    assertNotNull("names list exist", names);
    assertTrue("names list contains values", names.size() > 0);
  }
Esempio n. 2
0
 @Ignore
 @Test
 public void testGetRowById() throws Exception {
   Map<String, Object> row =
       coreJdbcDao.getRowById(UuidTypeImpl.fromString("16d4058a-feb3-4ac0-9ed6-d519961c7dc1"));
   assertNotNull("get row by id", row);
   assertTrue("row by id exists", row.size() > 0);
   assertTrue("row id converted", row.get("ID") instanceof UuidType);
 }