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

Sergiu Dumitriu (JIRA) noreply at atlassian.com
Sat Oct 31 08:10:54 EDT 2009


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


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