Skip to content

Conversation

dreab8
Copy link
Member

@dreab8 dreab8 commented Jul 8, 2025

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


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.


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 a67f5f9 into hibernate:main Jul 24, 2025
25 of 26 checks passed
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