This commit is contained in:
Struchkov Mark 2022-07-02 19:50:59 +03:00
parent 2394276f5b
commit 0ab69c65f4
1 changed files with 1 additions and 1 deletions

View File

@ -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++) {