Mike Matrigali wrote:
Is there any debug helper routines already written to dump
the contents of a result set to standard out?
To print out the resultSet in two dimensional array used by
JDBC.assertFullResultSet(rs,expectedRows) there is this showResultSet
utility. You can call this to print out the ResultSet and then cut and
paste into your test code.
http://db.apache.org/derby/javadoc/testing/org/apache/derbyTesting/junit/Utilities.html#showResultSet(java.sql.ResultSet)
For human readable ResultSet display there is JDBCDisplayUtil
http://db.apache.org/derby/javadoc/engine/org/apache/derby/tools/JDBCDisplayUtil.html#DisplayResults(java.io.PrintStream,%20java.sql.Statement,%20java.sql.Connection)
/mikem