[seam-issues] [JBoss JIRA] Commented: (SEAMPERSIST-18) @Transactional not inherited in larger hierarchies
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Wed Jan 19 01:24:49 EST 2011
[ https://issues.jboss.org/browse/SEAMPERSIST-18?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576422#comment-12576422 ]
Stuart Douglas commented on SEAMPERSIST-18:
-------------------------------------------
Can you post the exception you were getting?
> @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