Home » Search

About inheritance

1-10 of 72Refresh
JDO Doc
77

javax.jdo.annotations.Inheritance

javax.jdo.annotations Annotation Inheritance Target: Classes Annotation for the inheritance of the class. Corresponds to the xml element "inheritance" of the "class" and "interface" elements. Since: JDO 2.1 String customStrategy Custom inheritance strategy. Custom inheritance strategy
JPA Doc
76

javax.persistence.Inheritance

javax.persistence Annotation Inheritance Target: Classes Defines the inheritance strategy ... class hierarchy. If the Inheritance annotation is not specified or if no inheritance type ... @Inheritance(strategy=JOINED) public class Customer { ... } @Entity public class
Manual
73

JPA Persistable Types

and inherit their behavior. The difference can be noticed in the debugger view and when invoking
JDO Doc
71

Inheritance.customStrategy

Annotation Element javax.jdo.annotations.Inheritance String customStrategy Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED. Returns: the custom inheritance strategy Default value: "" Since: JDO 2.1
JDO Doc
71

Inheritance.strategy

Annotation Element javax.jdo.annotations.Inheritance InheritanceStrategy strategy Strategy to use for inheritance. Specifies in which table(s) the members for the class are stored. Returns: the inheritance strategy Default value: javax.jdo.annotations.InheritanceStrategy.UNSPECIFIED Since: JDO 2.1
JPA Doc
70

Inheritance.strategy

Annotation Element javax.persistence.Inheritance InheritanceType strategy The strategy to be used for the entity inheritance hierarchy. Default value: javax.persistence.InheritanceType.SINGLE_TABLE Since: JPA 1.0
Manual
46

JPA Metamodel API

: // Get all the attributes - including inherited: Set attributes1 = managedType.getAttributes(); // Get all the attributes - excluding inherited: Set attributes2 = managedType.getDeclaredAttributes(); // Get a specific attribute - including inherited: Attribute
Manual
23

JPA Entity Fields

fields (including persistent fields that are inherited from ancestor classes), is stored ... class hierarchy is sufficient because a version field is inherited by subclasses. Unlike ORM JPA
Manual
23

JPA Lifecycle Events

are inherited by its subclasses unless the subclass excludes inheritance explicitly using
Manual
23

Shared (L2) Entity Cache

MyNonCacheableEntityClass extends MyCacheableEntityClass {     ... } Cacheable is an inherited property - every entity class which is not marked with @Cacheable inherits cacheability setting from its super