From: Roland Häder Date: Tue, 23 Aug 2016 09:26:38 +0000 (+0200) Subject: The returned instance was a managed instance that have been updated. First find it... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=423f9af41731c281597b236e4852659011025c98;p=jcontacts-lib.git 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. --- 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