Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1543

Re: MappedSuperClass annotation

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.help
Subject Re: MappedSuperClass annotation
Date 2012-01-29 10:05 -0800
Organization albasani.net
Message-ID <jg41pd$b92$1@news.albasani.net> (permalink)
References <4f22cb6e$2@news.x-privat.org> <jfurls$srq$1@news.albasani.net> <L6EUq.3960$Au5.2987@newsfe23.iad> <jfvpov$g19$1@news.albasani.net> <UPeVq.4233$EF2.2547@newsfe18.iad>

Show all headers | View raw


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

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

MappedSuperClass annotation Pidi <lamia@mail.com> - 2012-01-27 17:05 +0100
  Re: MappedSuperClass annotation Lew <noone@lewscanon.com> - 2012-01-27 10:50 -0800
    Re: MappedSuperClass annotation Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-27 12:50 -0800
      Re: MappedSuperClass annotation Lew <noone@lewscanon.com> - 2012-01-27 19:24 -0800
        Re: MappedSuperClass annotation Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-29 08:53 -0800
          Re: MappedSuperClass annotation Lew <noone@lewscanon.com> - 2012-01-29 10:05 -0800
            Re: MappedSuperClass annotation Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-01-29 22:45 -0800
              Re: MappedSuperClass annotation Lew <noone@lewscanon.com> - 2012-01-30 10:06 -0800
                Re: MappedSuperClass annotation Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-31 06:52 -0400
                Re: MappedSuperClass annotation Lew <noone@lewscanon.com> - 2012-01-31 11:07 -0800
      Re: MappedSuperClass annotation Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-01-28 12:02 -0400

csiph-web