mirror of
https://github.com/Example-uPagge/hibernate-multiple-bag-fetch-exception.git
synced 2024-06-15 10:55:24 +03:00
update
This commit is contained in:
parent
2394276f5b
commit
0ab69c65f4
@ -32,7 +32,7 @@ public class GeneratePost {
|
||||
entityManager.getTransaction().begin();
|
||||
|
||||
final List<Tag> tags = entityManager.createQuery("SELECT t FROM Tag t where t.id IN :id", Tag.class)
|
||||
.setParameter("id", LongStream.range(0, 19).boxed().collect(Collectors.toSet()))
|
||||
.setParameter("id", LongStream.range(0, 20).boxed().collect(Collectors.toSet()))
|
||||
.getResultList();
|
||||
|
||||
for (int i = 0; i < 50; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user