When a foreign key references a key from another schema, pkTableInformation This is always null in InformationExtractorJdbcDatabaseMetaDataImpl#getForeignKeys.
The cause is {code}final QualifiedTableName incomingPkTableName = extractKeyTableName( resultSet, "PK" );{code} returning a DatabaseIdentifier object, but {code}identifierHelper() follow-up of the issue 10802 . toIdentifier( resultSet https://hibernate . getString( "TABLE_NAME" ) ) ){code} return an Identifier object, then comparation failed in InformationExtractorJdbcDatabaseMetaDataImpl#processGetTableResults {code}if ( tableName atlassian . equals( identifierHelper().toIdentifier( resultSet.getString( "TABLE_NAME" ) ) ) ) {{code} net/browse/HHH-10802 |
|