Can someone help me understand whether this is valid annotation mapping:
@Entity
class A {
}
@Entity
class B extends A {
}
?
My understanding was that an @Entity extending an @Entity had to specify
an inheritance strategy? And that this example is really the point of
@MappedSuperclass:
@MappedSuperclass
class A {
}
@Entity
class B extends A {
}
--
steve(a)hibernate.org
http://hibernate.org