Skip to content

Conversation

@dreab8
Copy link
Member

@dreab8 dreab8 commented Nov 7, 2024

https://hibernate.atlassian.net/browse/HHH-18610

the main change is to use Fetchable instead of the simple attribute name as the key for FetchBuilders for subclasses having properties with the same name but different columns.

This fix


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.


@dreab8 dreab8 requested review from beikov and mbellade November 7, 2024 10:51
}

final Map<String, DynamicFetchBuilderLegacy> fetchBuilders = legacyFetchBuilders.get( ownerTableAlias );
final Map<Fetchable, DynamicFetchBuilderLegacy> fetchBuilders = legacyFetchBuilders.get( ownerTableAlias );

Check failure

Code scanning / CodeQL

Type mismatch on container access Error

Actual argument type 'String' is incompatible with expected argument type 'Fetchable'.
…: TYPE when using Single Table Inheritance with a strict JDBC driver such as PostgreSQL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant