org.springframework.jdbc.core
Class RowCountCallbackHandler

Implementation of RowCallbackHandler. Convenient superclass for callback handlers.
An instance can only be used once.

We can either use this on its own (for example, in a test case, to ensure
that our result sets have valid dimensions), or use it as a superclass
for callback handlers that actually do something, and will benefit
from the dimension information it provides.