@Entity public class TablePerClassSubclassTestEntity extends TablePerClassSuperclassTestEntity implements SubclassEntity
InheritanceType.SINGLE_TABLE
is written correctly.Constructor and Description |
---|
TablePerClassSubclassTestEntity(long id,
String name,
String description)
Creates a new instance of
TablePerClassSubclassTestEntity . |
equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription
getName, getSuperProperty
public TablePerClassSubclassTestEntity(long id, String name, String description)
TablePerClassSubclassTestEntity
.id
- the id of the entity, as identity generation is not supported for this type of inheritancename
- saved in TablePerClassSuperclassTestEntity
description
- saved in this classCopyright © 2016 fastnate.org. All rights reserved.