[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5851) Make UPPER or LOWER configurable when using Example.ignoreCase()

Andreas Brunner (JIRA) noreply at atlassian.com
Tue Jan 18 09:22:05 EST 2011


Make UPPER or LOWER configurable when using Example.ignoreCase()
----------------------------------------------------------------

                 Key: HHH-5851
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5851
             Project: Hibernate Core
          Issue Type: New Feature
          Components: query-criteria
    Affects Versions: 3.6.0
            Reporter: Andreas Brunner


When executing a query created via the criteria api using an Example object and ignoreCase, like the following:

List results = session.createCriteria(Parent.class)
     .add( Example.create(parent).ignoreCase() )
     .list();

the resulting SQL query uses the LOWER function of the database to ignoring the case. 
It would be great if there would be a way to configure Hibernate to user UPPER instead of LOWER to ignore the case.

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