ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATISNET-3) Dyna SQL: Support for #value# parameter
Date Fri, 21 Mar 2008 09:29:25 GMT

     [ https://issues.apache.org/jira/browse/IBATISNET-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Gilles Bayon closed IBATISNET-3.

       Resolution: Fixed
    Fix Version/s: DataMapper 1.6.2
         Assignee: Gilles Bayon

close old issue

> Dyna SQL: Support for #value# parameter
> ---------------------------------------
>                 Key: IBATISNET-3
>                 URL: https://issues.apache.org/jira/browse/IBATISNET-3
>             Project: iBatis for .NET
>          Issue Type: New Feature
>            Reporter: Ted Husted
>            Assignee: Gilles Bayon
>            Priority: Minor
>             Fix For: DataMapper 1.6.2
> A common usecase for is return all records if a
> parameter is missing or null and a selected set if a
> parameter is missing. Conventional iBATIS queries
> support use of a #value# parameter that can be used
> with value objects, like int and string. But thie
> #value# parameter is not supported by Dynmaic SQL,
> which expects a rich object. The workaround is to
> create a "NameValue" object to pass, but being able to
> use value objects with the very common one-parameter
> query would be useful. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message