db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David W. Van Couvering" <David.Vancouver...@Sun.COM>
Subject Re: Paging Lance: format of empty result set
Date Fri, 03 Feb 2006 22:50:15 GMT
OK, thanks.  I hadn't considered the RS metadata.


Daniel John Debrunner wrote:
> 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
>>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.
> Dan.

View raw message