[EMAIL PROTECTED] wrote:

When I tried letting my assertResultSet call
JDBC.assertFullResultSet() I got ArrayIndexOutOfBoundsExceptions all
over the place since I use the assert method to test empty resultsets
against zero-length Object arrays...

Would

  JDBC.assertDrainResults(rs, 0);

solve this particular problem? If you're expecting an empty result set then when you "drain" it you should get 0 rows, so wouldn't this be an appropriate check?

Army

Reply via email to