From c92ad3244f027ce967cb8b467755b4a5508fc65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sat, 7 May 2022 16:35:29 +0200 Subject: [PATCH] fix: typos --- src/main/java/com/pixels/beans/Group.java | 2 +- src/main/java/com/pixels/beans/Pixel.java | 2 +- src/main/java/com/pixels/beans/Transaction.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/pixels/beans/Group.java b/src/main/java/com/pixels/beans/Group.java index b285e6d..7f644d8 100644 --- a/src/main/java/com/pixels/beans/Group.java +++ b/src/main/java/com/pixels/beans/Group.java @@ -8,7 +8,7 @@ import java.io.Serializable; @Data @Entity -@NamedQuery(name = "Group.list", query = "SELECT g FROM Group") +@NamedQuery(name = "Group.list", query = "SELECT g FROM Group g") public class Group implements Serializable { @Id // clé primaire diff --git a/src/main/java/com/pixels/beans/Pixel.java b/src/main/java/com/pixels/beans/Pixel.java index 986b2d5..c4db324 100644 --- a/src/main/java/com/pixels/beans/Pixel.java +++ b/src/main/java/com/pixels/beans/Pixel.java @@ -9,7 +9,7 @@ import java.util.List; @Data @Entity -@NamedQuery(name = "Pixel.list", query = "SELECT p FROM Pixel p order by p.dateTime desc") +@NamedQuery(name = "Pixel.list", query = "SELECT p FROM Pixel p") public class Pixel implements Serializable { @Id // clé primaire diff --git a/src/main/java/com/pixels/beans/Transaction.java b/src/main/java/com/pixels/beans/Transaction.java index 0f97637..94ce72e 100644 --- a/src/main/java/com/pixels/beans/Transaction.java +++ b/src/main/java/com/pixels/beans/Transaction.java @@ -9,7 +9,7 @@ import java.util.Date; @Data @Entity -@NamedQuery(name = "Transaction.list", query = "SELECT t FROM Transaction t order by t.dateTime desc") +@NamedQuery(name = "Transaction.list", query = "SELECT t FROM Transaction t order by t.time desc") public class Transaction implements Serializable { @Id // clé primaire