From 673e2f74d8bd9992da569c00aedd14555e0bd9bb Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Sat, 30 May 2020 10:49:59 +0200 Subject: [PATCH] Fix typo in JPQL query --- src/main/java/envoy/server/data/Group.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/envoy/server/data/Group.java b/src/main/java/envoy/server/data/Group.java index 9c8ebf4..688ad4c 100644 --- a/src/main/java/envoy/server/data/Group.java +++ b/src/main/java/envoy/server/data/Group.java @@ -21,7 +21,7 @@ import javax.persistence.Table; @Table(name = "groups") @NamedQuery( name = Group.findByName, - query = "SELECT g FROM Group g WHERRE g.name = :name" + query = "SELECT g FROM Group g WHERE g.name = :name" ) public class Group extends Contact {