|
From: Patrick E. (JIRA) <nh...@gm...> - 2010-09-18 20:36:29
|
[ http://216.121.112.228/browse/NH-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Earl updated NH-2318:
-----------------------------
Attachment: SqlFunctionProjectionFix.patch
The SqlFunctionProjectionFix patch makes the Criteria API work properly with custom sql functions that rearrange, duplicate, or remove arguments in the function definition.
> Template functions fail with certain combinations of arguments.
> ---------------------------------------------------------------
>
> Key: NH-2318
> URL: http://216.121.112.228/browse/NH-2318
> Project: NHibernate
> Issue Type: Bug
> Components: Core
> Affects Versions: 3.0.0.Alpha2
> Reporter: Patrick Earl
> Attachments: SqlFunctionProjectionFix.patch, TrimFunctionsTest.patch
>
>
> Some template functions such as TRIM() fail since they use repeated arguments in the template. Additionally, the LEADING and TRAILING trim emulation functions have their ltrim and rtrim reversed. Included is a unit test that demonstrates that failure.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|