[seam-issues] [JBoss JIRA] (SEAMTRANSACTION-12) @Transactional not inherited in larger hierarchies

Jason Porter (Moved) (JIRA) jira-events at lists.jboss.org
Mon Jan 9 16:23:09 EST 2012


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

Jason Porter moved SEAMPERSIST-18 to SEAMTRANSACTION-12:
--------------------------------------------------------

              Project: Seam Transaction  (was: Seam Persistence)
                  Key: SEAMTRANSACTION-12  (was: SEAMPERSIST-18)
    Affects Version/s:     (was: 3.0.0.Beta2)
        Fix Version/s: Future
                           (was: Future)

    
> @Transactional not inherited in larger hierarchies
> --------------------------------------------------
>
>                 Key: SEAMTRANSACTION-12
>                 URL: https://issues.jboss.org/browse/SEAMTRANSACTION-12
>             Project: Seam Transaction
>          Issue Type: Bug
>         Environment: JBoss 6.0.0.Final, Seam Persistence 3.0.0.Beta2
>            Reporter: Stephan Pabinger
>             Fix For: Future
>
>
> I am using the following hierarchy:
> ClassA (abstract)
> inherited by
> ClassB (abstract)
> inherited by
> ClassC
> ClassA 
> - injects a Seam-Managed Persistence Context as described in (http://docs.jboss.org/seam/3/persistence/latest/reference/en-US/html/persistence.html#d0e206)
> - performs em.joinTransaction() in a method that is annotated with @Transactional
> ClassB
> - just extends ClassA (nothing added)
> ClassC
> - extends ClassB
> - is annotated with @Named
> When I call #{classC.joinTransaction} I get the following exception: [1]. When inheriting ClassC directly from ClassA the method is called just fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list