Skip to main content

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

  • From: Christian von Kutzleben <cvkutzleben@...>
  • To: Steve Ebersole <steve.ebersole@...>
  • Cc: jsr338-experts@...
  • Subject: [jpa-spec users] [jsr338-experts] Re: modifying fields of a removed instance
  • Date: Wed, 3 Apr 2013 08:58:04 +0200
  • List-id: <jsr338-experts.jpa-spec.java.net>

Hi Steve,

Thanks for your reply! That was also our interpretation. We assumed, that this particular case should be explicitly
disallowed in the spec, if the intention was, that this is not supported. So we do support this.

Christian


On Tue, Apr 2, 2013 at 8:23 PM, Steve Ebersole <steve.ebersole@...> wrote:
Well, more correctly... the spec is silent on the matter.  It does not say it is allowed, nor does it say it is disallowed.



On Tue 02 Apr 2013 01:00:54 PM CDT, Steve Ebersole wrote:
Hi Christian,

Correct.  That is allowed.

On Tue 02 Apr 2013 10:42:30 AM CDT, Christian von Kutzleben wrote:
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@... <mailto:cromberg@...>
www.versant.com <http://www.versant.com> | www.db4o.com
<http://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.



--
Christian von Kutzleben
Chief Engineer | Versant GmbH
(T) +49 40 60990-0
(F) +49 40 60990-113
(E) cvkutzleben@...
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.


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

Christian von Kutzleben 04/02/2013

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

Steve Ebersole 04/02/2013

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

Steve Ebersole 04/02/2013

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

Christian von Kutzleben 04/03/2013
 
 
Close
loading
Please Confirm
Close