Skip to content

Conversation

@dreab8
Copy link
Member

@dreab8 dreab8 commented Jul 16, 2025

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

#10484 backport for 7.0


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 added the 7.0 label Jul 16, 2025
public void testQuery(SessionFactoryScope scope) {
scope.inTransaction(
session -> {
List<Long> ids = session.createQuery("select o.orderId from Order o", Long.class ).list();

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'List ids' is never read.
@beikov beikov merged commit 5b73852 into hibernate:7.0 Jul 24, 2025
23 of 26 checks passed
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.

2 participants