]> git.mxchange.org Git - jcontacts-business-core.git/commitdiff
also not working ...
authorRoland Häder <roland@mxchange.org>
Mon, 9 May 2016 10:18:31 +0000 (12:18 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 9 May 2016 10:18:31 +0000 (12:18 +0200)
src/org/mxchange/jcontactsbusiness/department/CompanyDepartment.java

index 6d6ed4f702d180d7b122ba849e32c03f4d0484c2..cf335c939acf7e8f966973dfc1c15763ba6409a7 100644 (file)
@@ -37,6 +37,7 @@ import org.mxchange.jcontactsbusiness.branch.BranchOffice;
 import org.mxchange.jcontactsbusiness.branch.CompanyBranchOffice;
 import org.mxchange.jcontactsbusiness.employee.CompanyEmployee;
 import org.mxchange.jcontactsbusiness.employee.Employee;
+import org.mxchange.jcontactsbusiness.headquarters.CompanyHeadQuartersData;
 import org.mxchange.jcontactsbusiness.headquarters.HeadQuartersData;
 import org.mxchange.jusercore.model.user.LoginUser;
 import org.mxchange.jusercore.model.user.User;
@@ -60,7 +61,7 @@ public class CompanyDepartment implements Department {
         * Where this department is located
         */
        @JoinColumn (name = "department_headquarters_id")
-       @OneToOne (targetEntity = HeadQuartersData.class, cascade = CascadeType.ALL)
+       @OneToOne (targetEntity = CompanyHeadQuartersData.class, cascade = CascadeType.ALL)
        private HeadQuartersData departentHeadquarters;
 
        /**