[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-4539) Make UPPER and LOWER work on MS SQL Server text and ntext columns

Strong Liu (JIRA) noreply at atlassian.com
Fri Dec 3 10:53:13 EST 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-4539.
-----------------------------

         Assignee: Strong Liu
       Resolution: Fixed
    Fix Version/s: 4.0.0.Alpha1
                   3.6.1

fixed by HHH-3965

> Make UPPER and LOWER work on MS SQL Server text and ntext columns
> -----------------------------------------------------------------
>
>                 Key: HHH-4539
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4539
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: query-sql
>    Affects Versions: 3.3.2
>         Environment: MS SQL Server
>            Reporter: Sergiu Dumitriu
>            Assignee: Strong Liu
>             Fix For: 3.6.1, 4.0.0.Alpha1
>
>
> Trying to use UPPER or LOWER on a text column results in:
> ERROR util.JDBCExceptionReporter - Argument data type text is invalid for argument 1 of upper function.
> http://databases.aspfaq.com/database/why-do-i-get-argument-data-type-text-is-invalid-for-argument.html suggests a workaround, which I think should be automatically used by Hibernate, so that the HQL query can work with other dialects.

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