Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9383

Extended persistence context no longer extended

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 6.1.0
    • Fix Version/s: 6.1.0
    • Component/s: JPA / Hibernate
    • Labels:
      None

      Description

      I have a @ConversationScoped @Stateful bean with a @PersistenceContext(type = PersistenceContextType.EXTENDED) EntityManager em.

      I load an object by merging it into the em and storing it in the bean in the normal fashion but when I later do em.persist(foo) the persistence manager tries to insert it as a fresh object. em.contains(foo) also returns false.

      This is in trunk, it works on 6.0.0.Final

        Attachments

          Activity

            People

            Assignee:
            smarlow Scott Marlow
            Reporter:
            nickarls Nicklas Karlsson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: