[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3028) add ContainerManagedPersistenceContext

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue May 27 13:10:55 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3028?page=comments#action_12414374 ] 
            
Dan Allen commented on JBSEAM-3028:
-----------------------------------

The recommended usage would be that Java EE is loading the persistence context but you don't want to use EJB components. You can save a small configuration step.

> add ContainerManagedPersistenceContext
> --------------------------------------
>
>                 Key: JBSEAM-3028
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3028
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.1.0.A1, 2.0.2.GA
>            Reporter: Dan Allen
>         Assigned To: Dan Allen
>            Priority: Minor
>             Fix For: 2.1.0.GA
>
>         Attachments: JBSEAM-3028-v1.txt
>
>   Original Estimate: 2 hours
>  Remaining Estimate: 2 hours
>
> Perhaps this is silly, perhaps not. I have developed a wrapper around a container-managed persistence manager, avoiding the need to have to lookup the EntityManagerFactory in JNDI. The main limitation here is that you cannot use this with EJB components, so it is really just a convenience of configuration if the Java EE application server happens to offer the ability to create an EntityManager for you. This also only works with the default persistence unit.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list