[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4539?page=c...
]
Sergiu Dumitriu commented on HHH-4539:
--------------------------------------
Well, this is what Hibernate uses to automatically create the tables based on the mapping,
and the mapping only specifies a "string" property.
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...
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira