This content has been marked as final.
Show 3 replies
-
1. Re: @ApplicationException(rollback=true) in Inheritance
momega Apr 18, 2007 5:26 PM (in response to alrubinger)I have tried it in JBoss 4.0.5 (EJB RC 9+Patch 1) and I have found that all exception classes needs annotation. Inheritance does not work.
-
2. Re: @ApplicationException(rollback=true) in Inheritance
wolfc Apr 19, 2007 2:57 AM (in response to alrubinger)JSR 250, 2.1, General Guidelines for Inheritance of Annotations:
Class-level annotations only affect the class they annotate and their members, that is, its methods and fields. They never affect a member declared by a superclass, even if it is not hidden or overridden by the class in question.
-
3. Re: @ApplicationException(rollback=true) in Inheritance
alrubinger Apr 25, 2007 10:52 AM (in response to alrubinger)Thanks everyone, and Reverend Carlo, for throwing the book at me. :)
S,
ALR