[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3701) SQL function "trim" is not available in Sybase Dialect

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jan 30 15:51:43 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32230#action_32230 ] 

Steve Ebersole commented on HHH-3701:
-------------------------------------

Also, the current code tries to use rtrim to trim leading characters and ltrim to trim trailing characters.  That is not correct and will be fixed as well :(

> SQL function "trim" is not available in Sybase Dialect
> ------------------------------------------------------
>
>                 Key: HHH-3701
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3701
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.x
>         Environment: Sybase ASE 15
>            Reporter: Juraci Paixao Krohling
>            Assignee: Steve Ebersole
>             Fix For: 3.2.x, 3.3.x, 3.4
>
>
> The current AnsiTrimEmulationFunction doesn't handles the "replace" function properly for Sybase, as it should use "str_replace" instead of "replace", so, AnsiTrimEmulationFunction needs to be aware of this, or a new class based on it should be developed. 

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