From 4b0585dbc5a590c98f376523a96440abc5354489 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 16 Apr 2020 17:57:01 +0200 Subject: [PATCH] Continued: - ops, also need to renamed openingId to openingTimeId in JPQL query MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../model/opening_time/BusinessOpeningTime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java b/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java index 647bb88..86a238f 100644 --- a/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java +++ b/src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java @@ -44,7 +44,7 @@ import org.mxchange.jcoreutils.Comparables; @Table (name = "company_opening_times") @NamedQueries ( { - @NamedQuery (name = "AllOpeningTimes", query = "SELECT ot FROM company_opening_times AS ot ORDER BY ot.openingId ASC") + @NamedQuery (name = "AllOpeningTimes", query = "SELECT ot FROM company_opening_times AS ot ORDER BY ot.openingTimeId ASC") } ) @SuppressWarnings ("PersistenceUnitPresent") -- 2.39.5