]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 15:57:01 +0000 (17:57 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 15:57:01 +0000 (17:57 +0200)
- ops, also need to renamed openingId to openingTimeId in JPQL query

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jcontactsbusiness/model/opening_time/BusinessOpeningTime.java

index 647bb882b4f009c609a22493d5a7f45bf3f221d1..86a238f6ea7f6d801adc02c60e9047edad62a486 100644 (file)
@@ -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")