db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Paging Lance: format of empty result set
Date Fri, 03 Feb 2006 22:31:06 GMT
David W. Van Couvering wrote:
> If I want to send an empty result set, do the result columns still have
> to match the expected set of result columns?  I can't see why this would
> matter.
> Anybody else want to weigh in on this?
> It would be a lot simpler for me if I could have a single "fake" query
> that generates a "generic" empty result set with, say, a single integer
> column, rather than compose one with the right columns for each
> unsupported metadata call.

You have to provide a result set of the shape defined by the call. It
will be just to confusing to do anything else. With your approach the
ResultSetMetaData would not match the defined columns of the DMD method.


View raw message