Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.help Subject: Re: MappedSuperClass annotation Date: Sun, 29 Jan 2012 10:05:33 -0800 Organization: albasani.net Lines: 14 Message-ID: References: <4f22cb6e$2@news.x-privat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 1qsqqHHuPdrMzNz3Y17plTnx3u5CMTkyBYMD4R4A3RBUG6/OIbmfUPpJCixuj8WF+2aYfN92qF2v9z3SCkqqNxCGcT9AFXL1ZXwFdagqenV5B4wOBxbesJh9GbTlkN6o NNTP-Posting-Date: Sun, 29 Jan 2012 18:05:33 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="ndl9DtujWRKX/S2W75Sko8GwD3dRjZphcAv2vHJbIz5OpQUEYAtT7qvYSUv8xyJA6ZFdLvcsuFLDRudMDsAqTyqlYv/paD3XJp5huunYKrEWDPt5E17LwTte/iyugCRj"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 In-Reply-To: Cancel-Lock: sha1:e2RjQkvIrgXSSaJ1+rWKVrPaiD8= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1543 Daniel Pitts wrote: > I have needed multiple levels of inheritance for different feature > combinations on some entities. Not often, but it does happen in real world > use-cases. Can you share a snippet or example to illustrate that, please? I racked my brain trying to figure out why you'd have > 1 level of '@MappedSuperClass', although of course multiple depths of inherited '@Entity' chains is common (though the annotation must be repeated at each level, as discussed upthread). -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg