Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-3946

HHH-2997 LikeExpression case sensitive not working properly

    XMLWordPrintable

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      <classname>LikeExpression</classname> did not handle the <varname>ignoreCase</varname>
      flag properly when <varname>ignoreCase</varname> was set to false. The correct SQL
      <literal>property like ?</literal> was built, but the flag inside
      <classname>getTypedValues</classname> was not used, and a lowercase value was always
      produced. This issue has been fixed, and lowercase or the original case is used when
      <varname>ignoreCase</varname> is set to false.
      Show
      <classname>LikeExpression</classname> did not handle the <varname>ignoreCase</varname> flag properly when <varname>ignoreCase</varname> was set to false. The correct SQL <literal>property like ?</literal> was built, but the flag inside <classname>getTypedValues</classname> was not used, and a lowercase value was always produced. This issue has been fixed, and lowercase or the original case is used when <varname>ignoreCase</varname> is set to false.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      LikeExpression doesn't handle ignoreCase flag properly when it's set to false. Uses it to build correct sql "property like ?", but doesn't use the flag inside getTypedValues - produces always lowercase value to bind.

      http://opensource.atlassian.com/projects/hibernate/browse/HHH-2997

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stliu Strong Liu
                Reporter:
                stliu Strong Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: