From 423f9af41731c281597b236e4852659011025c98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 23 Aug 2016 11:26:38 +0200 Subject: [PATCH] The returned instance was a managed instance that have been updated. First find it with find() then you have a managed instanced. Now simply update the fields you want and you are done. --- .../phone/AdminContactsPhoneSessionBeanRemote.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java index 4f65fe7..067d9ce 100644 --- a/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java +++ b/src/org/mxchange/jcontacts/phone/AdminContactsPhoneSessionBeanRemote.java @@ -119,7 +119,7 @@ public interface AdminContactsPhoneSessionBeanRemote extends Serializable { Contact linkNewMobileNumberWithContact (final Contact contact, final DialableMobileNumber mobileNumber) throws PhoneNumberAlreadyLinkedException; /** - * Unlinks fax data from given contact and returns the updated (detached?) + * Unlinks fax data from given contact and returns the updated (managed) * version. *

* @param contact Contact to unlink mobile instance @@ -134,7 +134,7 @@ public interface AdminContactsPhoneSessionBeanRemote extends Serializable { /** * Unlinks land-line data from given contact and returns the updated - * (detached?) version. + * (managed) version. *

* @param contact Contact to unlink mobile instance * @param landLineNumber Land-line number being unlinked @@ -147,8 +147,8 @@ public interface AdminContactsPhoneSessionBeanRemote extends Serializable { Contact unlinkLandLineDataFromContact (final Contact contact, final DialableLandLineNumber landLineNumber) throws PhoneNumberNotLinkedException; /** - * Unlinks mobile data from given contact and returns the updated - * (detached?) version. + * Unlinks mobile data from given contact and returns the updated (managed) + * version. *

* @param contact Contact to unlink mobile instance * @param mobileNumber Mobile number being unlinked -- 2.39.5