Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Oct 27, 2025

[Please describe here what your change is about]


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-19883

return baseRestriction;
}

final SqmJunctionPredicate combinedPredicate;

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method SqmCreationHelper.combinePredicates(..) could be confused with overloaded method
combinePredicates
, since dispatch depends on static types.
s.createMutationQuery( "delete from SubChildEntityA1" ).executeUpdate();
s.createMutationQuery( "delete from SubChildEntityA2" ).executeUpdate();
s.createMutationQuery( "delete from BaseClass" ).executeUpdate();
s.createNativeQuery( "delete from root_one" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createNativeQuery
should be avoided because it has been deprecated.
s.createMutationQuery( "delete from SubChildEntityA2" ).executeUpdate();
s.createMutationQuery( "delete from BaseClass" ).executeUpdate();
s.createNativeQuery( "delete from root_one" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya1" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createNativeQuery
should be avoided because it has been deprecated.
s.createMutationQuery( "delete from BaseClass" ).executeUpdate();
s.createNativeQuery( "delete from root_one" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya1" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya2" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createNativeQuery
should be avoided because it has been deprecated.
s.createNativeQuery( "delete from root_one" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya1" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya2" ).executeUpdate();
s.createNativeQuery( "delete from child_entity" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createNativeQuery
should be avoided because it has been deprecated.
s.createNativeQuery( "delete from subchildentitya1" ).executeUpdate();
s.createNativeQuery( "delete from subchildentitya2" ).executeUpdate();
s.createNativeQuery( "delete from child_entity" ).executeUpdate();
s.createNativeQuery( "delete from BaseClass" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createNativeQuery
should be avoided because it has been deprecated.
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