fix error
This commit is contained in:
parent
8b7cbc8de5
commit
91449219e9
@ -103,7 +103,7 @@ public class JsonPillarServlet extends HttpServlet {
|
|||||||
writer.println(" ]");
|
writer.println(" ]");
|
||||||
final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hive");
|
final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hive");
|
||||||
domsQuery.setParameter("hive", hiveName);
|
domsQuery.setParameter("hive", hiveName);
|
||||||
final List<?> domsResult = pacsQuery.getResultList();
|
final List<?> domsResult = domsQuery.getResultList();
|
||||||
writer.println(" , \"doms\": [");
|
writer.println(" , \"doms\": [");
|
||||||
final Iterator<?> domsIterator = domsResult.iterator();
|
final Iterator<?> domsIterator = domsResult.iterator();
|
||||||
firstLoop = true;
|
firstLoop = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user