<persistence-unit name="jfinancials-ejbPU" transaction-type="JTA">
<jta-data-source>jdbc/jfinancials</jta-data-source>
<class>org.mxchange.jcontacts.model.contact.UserContact</class>
- <class>org.mxchange.jcontactsbusiness.model.basicdata.CompanyBasicData</class>
- <class>org.mxchange.jcontactsbusiness.model.branchoffice.CompanyBranchOffice</class>
- <class>org.mxchange.jcontactsbusiness.model.department.CompanyDepartment</class>
- <class>org.mxchange.jcontactsbusiness.model.employee.CompanyEmployee</class>
- <class>org.mxchange.jcontactsbusiness.model.headquarters.CompanyHeadquartersData</class>
+ <class>org.mxchange.jcontactsbusiness.model.basicdata.BusinessBasicData</class>
+ <class>org.mxchange.jcontactsbusiness.model.branchoffice.BusinessBranchOffice</class>
+ <class>org.mxchange.jcontactsbusiness.model.department.BusinessDepartment</class>
+ <class>org.mxchange.jcontactsbusiness.model.employee.BusinessEmployee</class>
+ <class>org.mxchange.jcontactsbusiness.model.headquarters.BusinessHeadquartersData</class>
<class>org.mxchange.jcontactsbusiness.model.jobposition.EmployeePosition</class>
- <class>org.mxchange.jcontactsbusiness.model.logo.CompanyLogo</class>
+ <class>org.mxchange.jcontactsbusiness.model.logo.BusinessLogo</class>
<class>org.mxchange.jcontactsbusiness.model.opening_time.BusinessOpeningTime</class>
<class>org.mxchange.jcountry.model.data.CountryData</class>
<class>org.mxchange.jfinancials.model.income.FinancialIncome</class>
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.BaseDatabaseBean;
}
// 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