|
From: SourceForge.net <no...@so...> - 2012-04-15 16:01:53
|
Bugs item #3516309, was opened at 2012-04-09 23:26 Message generated for change (Comment added) made by jeffjensen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=449491&aid=3516309&group_id=47439 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Bug Group: v2.4.* Status: Open Resolution: None Priority: 7 Private: No Submitted By: Marcel H (marcelhoerr) >Assigned to: Jeff Jensen (jeffjensen) Summary: Debug statement in AbstractDatabaseConnection causing NSOE Initial Comment: The second debug statement in the <b>createQueryTable</b> method of the class <b>AbstractDatabaseConnection</b> (line 91) is always causing an UnsupportedOperationException. The debug statment is using the interface method <b>getRowCount</b> of <b>ITable</b>, though the underlying class is always a <b>ForwardOnlyResultSetTable</b> which does not support the <b>getRowCount</b> method. Possible fixes: (1) Use the public method <b>getRowCount</b> of <b>AbstractDatabaseConnection</b> for the debug statement instead. (2) Remove the debug statement. ---------------------------------------------------------------------- >Comment By: Jeff Jensen (jeffjensen) Date: 2012-04-15 09:01 Message: Nice find, thanks for reporting. Will you please attach a test(s) exhibiting the problem and a patch fixing please (keeping the intended info)? I will apply... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=449491&aid=3516309&group_id=47439 |