Date: Fri, 27 Jan 2012 17:05:53 +0100 From: Pidi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.java.help Subject: MappedSuperClass annotation Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: $$afwhll$slnyo.news.x-privat.org Message-ID: <4f22cb6e$2@news.x-privat.org> Organization: X-Privat.Org NNTP Server - http://www.x-privat.org Lines: 14 X-Authenticated-User: $$p9zou1n1$ng5dhdq$s2 X-Complaints-To: abuse@x-privat.org Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!newsfeed.x-privat.org!x-privat.org!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1537 If an abstract class inherits from an abstract superclass annotated with @MappedSuperclass, it inherits the annotation too or if I want both annotated I have to replicate the annotation? Ex: @MappedSuperclass public abstract Class1 { ... } @MappedSuperclass <-- I have to declare it or it's implicit? public abstract Class2 extends Class1{ ... }