]> git.mxchange.org Git - jjobs-ejb.git/commit
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Mon, 11 May 2020 00:48:27 +0000 (02:48 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 10 Jun 2020 17:24:39 +0000 (19:24 +0200)
commitffe2a1ce801737acba2d6d941dd327dab6133244
treee6b7a70143f07e72c76c2f76b536a414f3d24954
parent91661b12acdca912db01af240b3e34b786698d1c
Please cherry-pick:
- departments, headquarters and branch offices cannot have a relation to
  employees as employess have a relation already to them. So if comparison of
  those entities come, this ends up in an endless loop with a stack overflow.
- the fix here is a bit simple and also a bit complex: relate those 3 entities
  to contacts (jcontacts-core.jar) and look in all employees related to the
  department, headquarter or branch office who have an equal contact record

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jcontactsbusiness/model/branchoffice/JobsAdminBranchOfficeSessionBean.java
src/java/org/mxchange/jcontactsbusiness/model/department/JobsAdminDepartmentSessionBean.java
src/java/org/mxchange/jcontactsbusiness/model/headquarter/JobsAdminHeadquarterSessionBean.java