Commit c750a2d1 authored by Michael Ritter's avatar Michael Ritter
Browse files

Ignore null groups

parent d8faa6fc
...@@ -75,7 +75,7 @@ import java.util.Map; ...@@ -75,7 +75,7 @@ import java.util.Map;
@NamedQuery(name = "Collection.getCollectionByName", query = @NamedQuery(name = "Collection.getCollectionByName", query =
"SELECT c FROM Collection c WHERE c.name = :name"), "SELECT c FROM Collection c WHERE c.name = :name"),
@NamedQuery(name = "Collection.listGroups", query = @NamedQuery(name = "Collection.listGroups", query =
"SELECT DISTINCT c.group FROM Collection c"), "SELECT DISTINCT c.group FROM Collection c WHERE c.group IS NOT NULL"),
@NamedQuery(name = "Collection.getCollectionById", query = @NamedQuery(name = "Collection.getCollectionById", query =
"SELECT c FROM Collection c WHERE c.id = :id"), "SELECT c FROM Collection c WHERE c.id = :id"),
@NamedQuery(name = "Collection.getCollectionsInGroup", query = @NamedQuery(name = "Collection.getCollectionsInGroup", query =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment