Hi guys,
Say I got these 3 classes:
@Entity
@Table(name="owner")
@Inheritance
public abstract class Owner implements BaseObject{}
and
@Entity
@DiscriminatorValue(value="project")
public class OwnerProject extends Owner{}
and
@Entity
@DiscriminatorValue(value="other")
public class OwnerSomeOtherProject extends Owner{}
It is no issue when I want to list out all owners. How do I then add another
column to indicate the types with minimal work?
--
View this message in context:
http://www.nabble.com/Wicket-Model-and-JPA-inheritance-tp16135997p16135997.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]