From: Roland Häder Date: Thu, 16 Apr 2020 20:09:49 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77d7d0f2785b182c8d589376351b26d1c4b0fb29;p=pizzaservice-ejb.git Please cherry-pick: - method names have been updated in business opening times Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java b/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java index 06dd2f4..afbf55b 100644 --- a/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java +++ b/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java @@ -764,13 +764,13 @@ public abstract class BasePizzaEnterpriseBean extends BaseEnterpriseBean { // Walk through whole list for (final OpeningTime openingTime : openingTimes) { // Id should not be set - if (openingTime.getOpeningId() != null) { + if (openingTime.getOpeningTimeId() != null) { // Abort here throw new IllegalStateException("openingTime.openingId is not null"); } // Set created timestamp - openingTime.setOpeningCreated(new Date()); + openingTime.setOpeningTimeEntryCreated(new Date()); } }