Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

URGENT: executeQuery after setWhereClause causes infinite loop

66454Aug 5 2003 — edited Sep 2 2003
Hi,
- 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2003
Added on Aug 5 2003
1 comment
165 views