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

InformationExtractorJdbcDatabaseMetaDataImpl quoted table names

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 5.2.0
    • Fix versions: 5.2.1, 5.1.1
    • 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

      Starting with 5.2 InformationExtractorJdbcDatabaseMetaDataImpl performs an additional check on the TABLE_NAME returned from JDBC Metadata introduced for HHH-10718 Closed .

      if ( tableName.equals( identifierHelper().toIdentifier( resultSet.getString( "TABLE_NAME" ) ) )

      If tableName is a quoted identifier and the identifier helper does not have globallyQuoteIdentifiers we will perform an equality check on the canonical forms of a quoted and an unquoted identfier (lowercasing the latter) that will fail if the quoted tableName is not lowercase.

        Attachments

          Issue links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: