Skip to content

Conversation

@beikov
Copy link
Member

@beikov beikov commented Nov 20, 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-16991

public class BatchAndUserTypeIdCollectionTest {

@BeforeAll
public void setUp(SessionFactoryScope scope) {

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child1' is never read.

@BeforeAll
public void setUp(SessionFactoryScope scope) {
scope.inTransaction(

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child2' is never read.
@BeforeAll
public void setUp(SessionFactoryScope scope) {
scope.inTransaction(
session -> {

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child3' is never read.
public void setUp(SessionFactoryScope scope) {
scope.inTransaction(
session -> {
for (long i = 1L; i < 11; i++) {

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child4' is never read.
scope.inTransaction(
session -> {
for (long i = 1L; i < 11; i++) {
Parent parent = new Parent( new Parent.ParentId( "parent-" + i ) );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child5' is never read.
for (long i = 1L; i < 11; i++) {
Parent parent = new Parent( new Parent.ParentId( "parent-" + i ) );
Child child1 = new Child( i * 100L + 1L, parent );
Child child2 = new Child( i * 100L + 2L, parent );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child7' is never read.
Parent parent = new Parent( new Parent.ParentId( "parent-" + i ) );
Child child1 = new Child( i * 100L + 1L, parent );
Child child2 = new Child( i * 100L + 2L, parent );
Child child3 = new Child( i * 100L + 3L, parent );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child8' is never read.
Child child1 = new Child( i * 100L + 1L, parent );
Child child2 = new Child( i * 100L + 2L, parent );
Child child3 = new Child( i * 100L + 3L, parent );
Child child4 = new Child( i * 100L + 4L, parent );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child9' is never read.
Child child2 = new Child( i * 100L + 2L, parent );
Child child3 = new Child( i * 100L + 3L, parent );
Child child4 = new Child( i * 100L + 4L, parent );
Child child5 = new Child( i * 100L + 5L, parent );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child10' is never read.
Child child3 = new Child( i * 100L + 3L, parent );
Child child4 = new Child( i * 100L + 4L, parent );
Child child5 = new Child( i * 100L + 5L, parent );
Child child6 = new Child( i * 100L + 6L, parent );

Check notice

Code scanning / CodeQL

Unread local variable Note test

Variable 'Child child11' is never read.
@beikov beikov merged commit 31d75d0 into hibernate:6.6 Nov 21, 2025
48 checks passed
@beikov beikov deleted the HHH-16991-6.6 branch November 21, 2025 07:03
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.

1 participant