[jboss-jira] [JBoss JIRA] Updated: (JBAS-9383) Extended persistence context no longer extended

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue May 3 05:38:18 EDT 2011


     [ https://issues.jboss.org/browse/JBAS-9383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jaikiran pai updated JBAS-9383:
-------------------------------

         Assignee: Scott Marlow
    Fix Version/s: 6.1.0
      Component/s: JPA / Hibernate


> Extended persistence context no longer extended
> -----------------------------------------------
>
>                 Key: JBAS-9383
>                 URL: https://issues.jboss.org/browse/JBAS-9383
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JPA / Hibernate
>    Affects Versions: 6.0.0.Final
>            Reporter: Nicklas Karlsson
>            Assignee: Scott Marlow
>             Fix For: 6.1.0
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list