Class TablePerClassSuperclassTestEntity

java.lang.Object
org.fastnate.generator.test.inheritance.TablePerClassSuperclassTestEntity
All Implemented Interfaces:
SuperclassEntity
Direct Known Subclasses:
TablePerClassSubclassTestEntity

@Entity public class TablePerClassSuperclassTestEntity extends Object implements SuperclassEntity
The superclass of TablePerClassSubclassTestEntity to test InheritanceType.TABLE_PER_CLASS.
Author:
Tobias Liefke
  • Constructor Details

    • TablePerClassSuperclassTestEntity

      public TablePerClassSuperclassTestEntity(long id, String name)
      Creates a new instance of TablePerClassSuperclassTestEntity.
      Parameters:
      id - the id of the entity, as identity generation is not supported for this type of inheritance
      name - the name of the new entity
    • TablePerClassSuperclassTestEntity

      public TablePerClassSuperclassTestEntity()
  • Method Details