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

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Tue Aug 9 22:33:24 EDT 2011


    [ https://issues.jboss.org/browse/JBAS-9383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619852#comment-12619852 ] 

Shelly McGowan commented on JBAS-9383:
--------------------------------------

Reverting the changes done for JBAS-8563 should resolve your issue as the behavior that was in 6.0.0.Final has been restored.

> 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.1.0
>            Reporter: Nicklas Karlsson
>            Assignee: Scott Marlow
>            Priority: Blocker
>             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