From: Roland Häder Date: Tue, 17 Oct 2017 23:36:09 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a09e0ce4accc8f49a953e04bc376c6dee9b28822;p=pizzaservice-ejb.git Please cherry-pick: - renamed more from Company to Business (jcontacts-business-core was the name of the project anyway) Signed-off-by: Roland Häder --- diff --git a/src/conf/persistence.xml b/src/conf/persistence.xml index 9847968..f032c84 100644 --- a/src/conf/persistence.xml +++ b/src/conf/persistence.xml @@ -7,9 +7,9 @@ org.mxchange.jcontactsbusiness.model.branchoffice.BusinessBranchOffice org.mxchange.jcontactsbusiness.model.department.BusinessDepartment org.mxchange.jcontactsbusiness.model.employee.BusinessEmployee - org.mxchange.jcontactsbusiness.model.headquarters.CompanyHeadquartersData + org.mxchange.jcontactsbusiness.model.headquarters.BusinessHeadquartersData org.mxchange.jcontactsbusiness.model.jobposition.EmployeePosition - org.mxchange.jcontactsbusiness.model.logo.CompanyLogo + org.mxchange.jcontactsbusiness.model.logo.BusinessLogo org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime org.mxchange.jcountry.model.data.CountryData org.mxchange.jcustomercore.model.customer.ContactCustomer diff --git a/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java b/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java index 189fce1..cd6e4a8 100644 --- a/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java +++ b/src/java/org/mxchange/pizzaapplication/enterprise/BasePizzaEnterpriseBean.java @@ -34,7 +34,7 @@ import org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData; import org.mxchange.jcontactsbusiness.model.branchoffice.BranchOffice; import org.mxchange.jcontactsbusiness.model.branchoffice.BusinessBranchOffice; import org.mxchange.jcontactsbusiness.model.employee.BusinessEmployee; -import org.mxchange.jcontactsbusiness.model.headquarters.CompanyHeadquartersData; +import org.mxchange.jcontactsbusiness.model.headquarters.BusinessHeadquartersData; import org.mxchange.jcontactsbusiness.model.headquarters.HeadquartersData; import org.mxchange.jcontactsbusiness.model.opening_time.OpeningTime; import org.mxchange.jcoreee.database.BaseEnterpriseBean; @@ -497,7 +497,7 @@ public abstract class BasePizzaEnterpriseBean extends BaseEnterpriseBean { } // Try to find it (should be there) - final HeadquartersData managedHeadquarters = this.getEntityManager().find(CompanyHeadquartersData.class, headquarters.getHeadquartersId()); + final HeadquartersData managedHeadquarters = this.getEntityManager().find(BusinessHeadquartersData.class, headquarters.getHeadquartersId()); // Should be there assert (managedHeadquarters instanceof BasicData) : "managedHeadquarters is null"; //NOI18N