Skip to content

[#1931] Implement InformationExtractorJdbcDatabaseMetaDataImpl#processCrossreferenceResultSet #2101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,16 @@ protected <T> T processCrossReferenceResultSet(
String foreignCatalog,
String foreignSchema,
String foreignTable,
ExtractionContext.ResultSetProcessor<T> processor) {
ExtractionContext.ResultSetProcessor<T> processor)
throws SQLException {
// This method has been added as fix for https://hibernate.atlassian.net/browse/HHH-18221
// The issue is only for Informix that we don't currently support.
throw LOG.notYetImplemented();
try ( ResultSet resultSet =
getExtractionContext()
.getJdbcDatabaseMetaData()
.getCrossReference( parentCatalog, parentSchema, parentTable, foreignCatalog, foreignSchema, foreignTable) ) {
return processor.process( resultSet );
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if this solution is correct. It seems it's using something related to JDBC.
This method is only needed for Informix that we don't support at the moment.

I think we can just close this issue. and let the code as is.
Unless there's a way with the current dialects to call it.

}

@Override
Expand Down
Loading