users@jpa-spec.java.net

[jpa-spec users] [jsr338-experts] modifying fields of a removed instance

From: Christian von Kutzleben <cvkutzleben_at_versant.com>
Date: Tue, 2 Apr 2013 17:42:30 +0200

Dear group,

Am I right in the assumption, that reading or writing fields/properties of
a removed
entity (prior to commit) is allowed?

I.e. the following sequence is valid:

em.remove(o);
o.setMyField(42);
em.getTransaction().commit();

Thank you!

Christian

-- 
Christian von Kutzleben
Chief Engineer | Versant GmbH
(T) +49 40 60990-0
(F) +49 40 60990-113
(E) cvkutzleben_at_versant.com <cromberg_at_versant.com>
www.versant.com | www.db4o.com
-- 
Versant
GmbH is incorporated in Germany. Company registration number: HRB
54723, Amtsgericht Hamburg. Registered Office: Halenreie 42, 22359
Hamburg, Germany. Geschäftsführer: Bernhard Wöbker, Volker John
CONFIDENTIALITY
NOTICE: This e-mail message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential or
proprietary information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient,
immediately contact the sender by reply e-mail and destroy all copies of
the original message.