assertEquals("abc", rows.getString(1)) ;
}
public void testFirstRow() throws Exception {
Rows rows = dc.getRows(query1) ;
assertEquals(1, rows.firstRow().getInt("no1")) ;
try {
rows = dc.getRows("select * from copy_sample where 1 = 2") ;
rows.firstRow() ;
fail() ;
} catch (SQLException ignore){
} catch (RepositoryException ignore){