[seam-issues] [JBoss JIRA] Closed: (SEAMPERSIST-27) A seam managed hibernate session should not require an active request context

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Sun Feb 6 17:10:39 EST 2011


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

Stuart Douglas closed SEAMPERSIST-27.
-------------------------------------

         Assignee: Stuart Douglas
    Fix Version/s: 3.0.0.CR1
       Resolution: Done


Resolved by making the Synchronizations components @ApplicationScoped and using ThreadLocals to track the syncronizations

> A seam managed hibernate session should not require an active request context
> -----------------------------------------------------------------------------
>
>                 Key: SEAMPERSIST-27
>                 URL: https://issues.jboss.org/browse/SEAMPERSIST-27
>             Project: Seam Persistence
>          Issue Type: Bug
>            Reporter: Pieter Martin
>            Assignee: Stuart Douglas
>             Fix For: 3.0.0.CR1
>
>
> I am trying to use a seam managed hibernate session from a WebApplication Startup event. There is no request context at this time causing the injection to fail. It is because of the dependency on org.jboss.seam.persistence.transaction.EjbSynchronizations that a request context is required.

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

        


More information about the seam-issues mailing list