]> git.mxchange.org Git - pizzaservice-mailer-ejb.git/commit
Fixed: (please cherry-pick)
authorRoland Häder <roland@mxchange.org>
Wed, 10 Aug 2016 12:53:58 +0000 (14:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 16 Aug 2016 19:41:57 +0000 (21:41 +0200)
commiteb8c78dcd0b15d041f911cf308be65cd1f504391
tree9724bfd149eef73dfca7c208118c3b185892d344
parent05b308535a14cca14c9b176f081aeb2003abafdc
Fixed: (please cherry-pick)
- em.remove() needs a managed entity, not a one passed from e.g. a controller
- still this method may throw an exception, e.g. when an other entity (table) references this entity
- but since deleteCellphoneNumber() *should* delete cell phone numbers, it doesn't care if the entity is still referenced.
- this needs to be taken care of the controller and not the EJB (job-executor)
src/java/org/mxchange/jphone/phonenumbers/phone/AddressbookAdminPhoneSessionBean.java