tx.begin();
oql = _conn.newOQLQuery();
oql.create("select a from " + Article.class.getName()
+ " where articleId=$1 and articleName=$2");
oql.bind(new Integer(77777));
oql.bind("335");
it = _conn.getIteratorByOQLQuery(oql);
if (it.hasNext())
{
InterfaceArticle article = (InterfaceArticle) it.next();
assertEquals("should be equal", 77777, article.getArticleId().intValue());