[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-992) Use Spring configured EntityManagerFactory in spring example

Christian Bauer (JIRA) jira-events at lists.jboss.org
Tue Jul 3 16:55:52 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-992?page=comments#action_12367586 ] 
            
Christian Bauer commented on JBSEAM-992:
----------------------------------------

While I welcome any work done on Seam, I need to record here that this is not a good thing in my opinion. There is zero technical reason to configure an EMF in Spring and then use this combination in some Seam application. Or, even worse, wrap JDBC transactions with a JTA resource manager, then wrap the transaction with Spring interceptors, then wrap the Spring interceptors with Seam components. We should not lead users into that direction.

> Use Spring configured EntityManagerFactory in spring example
> ------------------------------------------------------------
>
>                 Key: JBSEAM-992
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-992
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Spring
>    Affects Versions: 1.2.0.GA
>            Reporter: Michael Youngstrom
>         Assigned To: Michael Youngstrom
>             Fix For: 2.0.0.GA
>
>
> Since most Spring project will be using a Spring configured EntityManagerFactory we should use one in the Spring example as well and inject this EntityManagerFactory into the Seam Managed PersistenceContext component with an expression.

-- 
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