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 {
}


-- 
st...@hibernate.org
http://hibernate.org
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to