Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.