From: Roland Häder Date: Thu, 16 Apr 2020 15:57:01 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4b0585dbc5a590c98f376523a96440abc5354489;p=jcontacts-business-core.git Continued: - ops, also need to renamed openingId to openingTimeId in JPQL query Signed-off-by: Roland Häder --- 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")