[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-1949) having trim(BOTH from c.name) translated into having ltrim(rtrim(BOTH)) on DB2

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Aug 11 15:44:19 EDT 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1949?page=all ]
     
Steve Ebersole resolved HHH-1949:
---------------------------------

    Resolution: Fixed

fixed for db2 and friends much like we did for SQL Server via the use of an "emulation" function which combines ltrim(), rtrim(), and replace() to mimic ANSI trim() functionality.

derby unfortunately does not even have a standard replace function; so there I cheated a little bit and simply said that specifying the replacement character is not supported...

> having trim(BOTH from c.name) translated into having ltrim(rtrim(BOTH)) on DB2
> ------------------------------------------------------------------------------
>
>          Key: HHH-1949
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1949
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.2.0.cr3
>     Reporter: Emmanuel Bernard
>     Assignee: Steve Ebersole
>     Priority: Blocker
>      Fix For: 3.2.0.ga

>
>
> same for LEADING and TRAILING

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list