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

InformationExtractorJdbcDatabaseMetaDataImpl can't handle Oracle function indexes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.0.7
    • Component/s: hibernate-core
    • Labels:
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

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

      Description

      Oracle allows indexes to be created using a function rather than a column. Example:

      CREATE INDEX OPS_OPERATED_SECTOR_N10
      ON OPS_OPERATED_SECTOR (TRUNC(DEPARTURE_DATETIME) ASC)

      This causes an exception:
      org.hibernate.tool.schema.spi.SchemaManagementException: Could not locate column information using identifier [SYS_NC00137$]
      at org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl.getIndexes(InformationExtractorJdbcDatabaseMetaDataImpl.java:550)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: