JDO
  1. JDO
  2. JDO-563

Test that a JDODetachedFieldAccessException is thrown when accessing a field of a detached instance

    Details

      Description

      The JDODetachedFieldAccessException is defined but we need a test case for it. The logic can be reused for the FetchPlan tests.

        Activity

        Hide
        Michelle Caisse added a comment -

        Complete with revision: 611284. Tests pass.

        Show
        Michelle Caisse added a comment - Complete with revision: 611284. Tests pass.
        Hide
        Michelle Caisse added a comment - - edited

        Negative test are needed for assertions
        A12.6.8-21 [While detached, any field access to a field that was not loaded throws JDODetachedFieldAccessException.]

        Show
        Michelle Caisse added a comment - - edited Negative test are needed for assertions A12.6.8-21 [While detached, any field access to a field that was not loaded throws JDODetachedFieldAccessException.]

          People

          • Assignee:
            Michelle Caisse
            Reporter:
            Craig L Russell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development