Hi,

Yes, I think this is a bug. I'm still working on a test case.

Regards,
Thomas


On Tuesday, April 28, 2015, <[email protected]> wrote:

> Hi,
>
> in my opinion, the code below contains a bug in the last line. Shouldn't
> it be
>
> *return ValueResultSet.get(x); *
>
> instead of
>
> *return ValueResultSet.get(rs);*
> ?
>
> The current code causes the current result set to be returned (rs), not
> the result set within the column (x). (Affects last stable 1.3. and last
> 1.4 beta version)
>
>
> org.h2.value.DataType:
>
> [...]
>             case Value.RESULT_SET: {
>                 ResultSet x = (ResultSet) rs.getObject(columnIndex);
>                 if (x == null) {
>                     return ValueNull.INSTANCE;
>                 }
>                 *return ValueResultSet.get(rs);*
>             }
>
> [...]
>
> Kind regards,
>
> Christoff Schmitz
>
> F I N A R I S
> Financial Software Partner GmbH
> Sömmerringstrasse 23
> 60322 Frankfurt am Main
>
> Fon:      +49 (0)69  / 254 98 - 24
> Mobile: +49 (0)176 / 206 34 186
> Fax:       +49 (0)69  / 254 98 - 50
> eMail:    mailto:[email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>
> www:      http://www.finaris.de und http://www.rapidrep.com
>
>
> ================================================================================================================
> Disclaimer
> The information contained in this e - mail and any attachments ( together
> the "message") is intended for the addressee only and
> may contain confidential and/or privileged information. If you have
> received the message by mistake please delete it and notify
> the sender and do not copy or distribute it or disclose its contents to
> anyone.
>
> FINARIS Financial Software Partner GmbH, Sömmerringstr. 23, 60322
> Frankfurt/Main, Germany
> Registered at Frankfurt/Main, HRB 52873, Managing Directors: Dipl. Inf.
> Hermann Friebel, Dipl. Ing. Kai Bächle, Dipl. Inf. Werner Märkl
>
> ================================================================================================================
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at http://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to