newPerfArticle() Called to get a new instance class of the
org.apache.ojb.performance.PerfArticle interface, override this method if you need your own implementation
(with default constructor) of the PerfArticle-Interface.
readArticlesByCursor(String articleName) Read all stored articles from the database and return the
result as collection of PerfArticles.
Do optimize performance.
Parameters: articleName - article name used for all PerfArticle createdby this instance/thread.
Returns the count of all found
PerfArticle in database.
This method is not involved in the performance test
methods, thus it's not mandatory to use the api-methods
for implementation.
Read all stored articles from the database and return the
result as collection of PerfArticles.
Do optimize performance.
Parameters: articleId - the primary key of a PerfArticle instance The matching PerfArticle instance or null if not found.
The returned name was used as 'articleName' for all
created PerfArticles for this thread.
This allows an easy build of the query statement
to match the created
PerfArticle for this
instance/thread.
Read all stored articles from the database and return the
result as collection of PerfArticles.
Do optimize performance.
Parameters: articleName - article name used for all PerfArticle createdby this instance/thread. Use this name in your query to match all belonging articles