URGENT: executeQuery after setWhereClause causes infinite loop
66454Aug 5 2003 — edited Sep 2 2003Hi,
- I'm using jdev 9.0.3.2.
- I have a JTable bound to a ViewObject.
- I set the vo's whereClause, the where clause has some syntax error.
- I call executeQuery
- The JBO exception is shown.
- I press ok.
BUT:
- The JBO exception is called again and again, the reason is getEstimatedRowCount called again and again by the repaint event.
I noticed the following code in JUIteratorBinding :
public void executeQuery()
{
synchronized(getSyncLock())
{
if (mIsAlive && mIsBound)
{
try
{
getRowSetIterator().getRowSet().executeQuery();
}
catch(Exception ex)
{
reportException(false /*markDead*/, ex);
}
}
}
}
reportException(false -> means do not markDead
is this OK?
Please help.
Thanks Ognian