HHH-16991 Fix array based id restriction with EnhanceUserType#11307
Conversation
| public class BatchAndUserTypeIdCollectionTest { | ||
|
|
||
| @BeforeAll | ||
| public void setUp(SessionFactoryScope scope) { |
Check notice
Code scanning / CodeQL
Unread local variable Note test
|
|
||
| @BeforeAll | ||
| public void setUp(SessionFactoryScope scope) { | ||
| scope.inTransaction( |
Check notice
Code scanning / CodeQL
Unread local variable Note test
| @BeforeAll | ||
| public void setUp(SessionFactoryScope scope) { | ||
| scope.inTransaction( | ||
| session -> { |
Check notice
Code scanning / CodeQL
Unread local variable Note test
| 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
| 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
| 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
| 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
| 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
| 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
| 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
[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