Skip to content

Conversation

beikov
Copy link
Member

@beikov beikov commented Aug 20, 2024


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.


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

@beikov beikov added the 6.2 label Aug 20, 2024
final String collectionTableName = ((AbstractCollectionPersister) collectionDescriptor).getTableName();

if ( collectionDescriptor.getElementType().isEntityType() ) {
if ( collectionDescriptor.getElementType() instanceof EntityType ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [CollectionPersister.getElementType](1) should be avoided because it has been deprecated.
final CollectionPersister collectionPersister = collectionReturn.getPluralAttribute().getCollectionDescriptor();
final String[] elementColumnAliases;
if ( collectionPersister.getElementType().isEntityType() ) {
if ( collectionPersister.getElementType() instanceof EntityType ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [CollectionPersister.getElementType](1) should be avoided because it has been deprecated.

boolean isPutFromLoad = true;
if ( collectionDescriptor.getElementType().isAssociationType() ) {
if ( collectionDescriptor.getElementType() instanceof EntityType ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [CollectionPersister.getElementType](1) should be avoided because it has been deprecated.
QueryableCollection collectionPersister = (QueryableCollection) factory.getRuntimeMetamodels().getMappingMetamodel().getCollectionDescriptor( role );

if ( !collectionPersister.getElementType().isEntityType() ) {
if ( !( collectionPersister.getElementType() instanceof EntityType ) ) {

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation

Invoking [CollectionPersister.getElementType](1) should be avoided because it has been deprecated.
@beikov beikov merged commit c180c1e into hibernate:6.2 Aug 21, 2024
@beikov beikov deleted the 6.2-backports branch August 21, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant