SourceForge has been redesigned. Learn more.

#17 Improper state transitions for PNT instances

Core (19)
David Ezzio

Hi guys,

Specification 1.0 Section 5.6.1:

"A persistent-nontransactional instance transitions to persistent-clean if any managed field
is accessed when a data store transaction is in progress. The state of the instance in memory
is discarded and the state is loaded from the data store."

This is not happening with TJDO Beta 3. A PNT instance remains PNT after persistent fields are
accessed with a DS tx active. Also, the default fetch group fields of a PNT instance can be accessed
when a tx is not active and the NTR property is off. A JDOUserException should be thrown instead.

David Ezzio


  • Mike Martin

    Mike Martin - 2003-08-03
    • assigned_to: nobody --> jackknifebarber
    • status: open --> closed-fixed
  • Mike Martin

    Mike Martin - 2003-08-03

    Logged In: YES

    P_NONTRANS-related state transitions have been fixed as a
    part of recent work to pass the TCK. Or they've been fixed so
    far as testing has progressed. :) I *think* we've got all the
    transitions handled correctly now, but I know for sure that
    the changes should specifically have fixed the two scenarios
    you describe.



Log in to post a comment.