Uploaded image for project: 'Hibernate ORM'
  1. HHH-11957

DB2 substring method needs to be exposed in DB297Dialect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 4.2.21, 5.0.12, 5.2.10, 5.1.10
    • Fix versions: 5.2.11, 5.1.11
    • Components: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      The DB2 dialect translates substring in HQL to substr and hides the DB2 method substring

      		registerFunction( "substring", new StandardSQLFunction( "substr", StandardBasicTypes.STRING ) );
      

      See IBM documentation for valid method signatures

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: