We're updating the issue view to help you get more done. 

InformationExtractorJdbcDatabaseMetaDataImpl can't handle Oracle function indexes

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)

Environment

None

Status

Assignee

Gail Badner

Reporter

Ramon Casha

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

5.0.2

Priority

Major