]> git.mxchange.org Git - pizzaservice-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:20:27 +0000 (19:20 +0200)
commitb4c1510ec1dba41d77b7507cd4447ccd85795027
tree4d7edae131cfa3e26c6cd06a49cd46fd5da2ed18
parentc474bcbffecf2a0230ea31bcffdd17ebf4b7916b
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/PizzaAdminBranchOfficeSessionBean.java
src/java/org/mxchange/jcontactsbusiness/model/department/PizzaAdminDepartmentSessionBean.java
src/java/org/mxchange/jcontactsbusiness/model/headquarter/PizzaAdminHeadquarterSessionBean.java