[seam-issues] [JBoss JIRA] Created: (SEAMPERSIST-18) @Transactional not inherited in larger hierarchies
Stephan Pabinger (JIRA)
jira-events at lists.jboss.org
Tue Jan 18 11:00:51 EST 2011
@Transactional not inherited in larger hierarchies
--------------------------------------------------
Key: SEAMPERSIST-18
URL: https://issues.jboss.org/browse/SEAMPERSIST-18
Project: Seam Persistence
Issue Type: Bug
Affects Versions: 3.0.0.Beta2
Environment: JBoss 6.0.0.Final, Seam Persistence 3.0.0.Beta2
Reporter: Stephan Pabinger
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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list