Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Jul 11, 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-19497

void tearDown(SessionFactoryScope scope) {
scope.inTransaction(
em -> {
em.createQuery( "delete from Foo" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
scope.inTransaction(
em -> {
em.createQuery( "delete from Foo" ).executeUpdate();
em.createQuery( "delete from FooType" ).executeUpdate();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
@beikov beikov merged commit f50c525 into hibernate:6.6 Jul 11, 2025
29 of 32 checks passed
@beikov beikov deleted the HHH-19497-6.6 branch July 11, 2025 14:56
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