Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-453

Evicting embedded object nullifies statemanager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Kodo 4.1.4, Ms sql server 2005, jTDS 1.2, jdk 1.6

    Description

      I am noticing the following behaviour: If evict() is called on an embedded
      object the statemanager is nullified which is in contrast to non-embedded
      objects. Subsequently, calling JDOHelper.getPersistenceManager() on the
      evicted embedded object returns null. Is this the correct behaviour?

      Attachments

        1. TestCaseEvictEmbedded.zip
          2 kB
          Christiaan
        2. openJPATestCase.zip
          4 kB
          Ravi Prakash Palacherla
        3. OpenJPABug453Embedded.zip
          8 kB
          David Ezzio
        4. OPENJPA-453_trunk_testcase.patch
          4 kB
          Ravi Prakash Palacherla
        5. JIRA-453_trunk.patch
          5 kB
          Ravi Prakash Palacherla

        Activity

          People

            rpalache Ravi Prakash Palacherla
            christiaan Christiaan
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: