Skip to content

Conversation

beikov
Copy link
Member

@beikov beikov commented Aug 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-19740

@Test
public void testDelete(SessionFactoryScope scope) {
scope.inTransaction( session -> {
session.createQuery( "delete from Table1 where name = :name" )

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note test

Invoking
QueryProducerImplementor.createQuery
should be avoided because it has been deprecated.
@dreab8 dreab8 merged commit 4a943e7 into hibernate:6.2 Aug 27, 2025
27 of 29 checks passed
@dreab8 dreab8 deleted the HHH-19740-6.2 branch August 27, 2025 13:00
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.

2 participants