db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: junit test debugging - any helper routine to just dump out the full contents of a result set?
Date Thu, 24 May 2007 17:25:08 GMT
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.


For human readable ResultSet display there is JDBCDisplayUtil

> /mikem

View raw message