Skip to content

Conversation

dreab8
Copy link
Member

@dreab8 dreab8 commented Jul 16, 2025

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

#10484 backport for 6.6


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 6.6 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 7e6d136 into hibernate:6.6 Jul 24, 2025
31 of 32 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