[
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.