protected void readArticlesByCursor() throws Exception
{
Connection conn = getConnection();
Criteria c = new Criteria();
c.addBetween("articleId", new Integer(offsetId), new Integer(offsetId + articleCount));
Query query = new QueryByCriteria(PerformanceArticle.class, c);
// Use the OJB SqlGenerator to generate SQL Statements. All details about
// Table and column names are read from the repository.xml file.
ClassDescriptor cld = broker.getClassDescriptor(PerformanceArticle.class);