Skip to content

Commit 7e8ef4f

Browse files
committed
missing space in query
1 parent 8a2853d commit 7e8ef4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/edu/harvard/iq/dataverse/GuestbookResponseServiceBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public Long findCountByGuestbookId(Long guestbookId, Long dataverseId) {
432432
Query query = em.createNativeQuery(queryString);
433433
return (Long) query.getSingleResult();
434434
} else {
435-
String queryString = "select count(o) from GuestbookResponse as o, Dataset d, DvObject obj where o.dataset_id = d.id and d.id = obj.id and obj.owner_id = " + dataverseId + "and o.guestbook_id = " + guestbookId;
435+
String queryString = "select count(o) from GuestbookResponse as o, Dataset d, DvObject obj where o.dataset_id = d.id and d.id = obj.id and obj.owner_id = " + dataverseId + " and o.guestbook_id = " + guestbookId;
436436
Query query = em.createNativeQuery(queryString);
437437
return (Long) query.getSingleResult();
438438
}

0 commit comments

Comments
 (0)