jdbcInputFormat.reachedEnd();
}
@Test
public void testJDBCInputFormat() throws IOException {
jdbcInputFormat = new JDBCInputFormat("org.apache.derby.jdbc.EmbeddedDriver", "jdbc:derby:memory:ebookshop", "select * from books");
jdbcInputFormat.configure(null);
Record record = new Record();
int recordCount = 0;
while (!jdbcInputFormat.reachedEnd()) {
jdbcInputFormat.nextRecord(record);