Skip to content

Commit

Permalink
fix: changed parameter of HQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAlesik committed Sep 4, 2024
1 parent 3fd88b8 commit 9c7b20f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ public int countItems(Context context, List<Collection> collections, boolean inc
public Iterator<Item> findByLastModifiedSince(Context context, Date since)
throws SQLException {
Query query = createQuery(context,
"SELECT i.id FROM Item i WHERE last_modified > :last_modified ORDER BY id");
"SELECT i.id FROM Item i WHERE lastModified > :last_modified ORDER BY id");
query.setParameter("last_modified", since, TemporalType.TIMESTAMP);
@SuppressWarnings("unchecked")
List<UUID> uuids = query.getResultList();
Expand Down

0 comments on commit 9c7b20f

Please sign in to comment.