@TargetSE(valueSE=TYPESE) @RetentionSE(valueSE=RUNTIMESE) public @interface Inheritance
Inheritance
アノテーションが指定されていない場合、またはエンティティクラス階層に継承型が指定されていない場合は、SINGLE_TABLE
マッピング戦略が使用されます。Example: @Entity @Inheritance(strategy=JOINED) public class Customer { ... } @Entity public class ValuedCustomer extends Customer { ... }
修飾子と型 | オプションの要素と説明 |
---|---|
InheritanceType | strategy エンティティの継承階層に使用される戦略。 |
public abstract InheritanceType strategy
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.