About inheritance

11-20 of 73Refresh
Manual
21

JPA Lifecycle Events

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

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
Forum
21

Inherited project; missing licence details

Inherited project; missing licence details
Forum
21

Usage of Inherited Class

Usage of Inherited Class
Manual
15

JPA Persistable Types

and inherit their behavior. The difference can be noticed in the debugger view and when invoking
Manual
15

Server User List

definition. All the settings of that master definition are automatically inherited by all the other user
JPA Doc
12

javax.persistence.MappedSuperclass

information is applied to the entities that inherit from it. A mapped superclass has no separate table ... for the mapped superclass itself. When applied to the subclasses the inherited mappings will apply in ... @Entity public class FTEmployee extends Employee { // Inherited empId field mapped
JPA Doc
8

javax.persistence.DiscriminatorColumn

for the SINGLE_TABLE and JOINED Inheritance mapping strategies. The strategy and the discriminator ... which a different inheritance strategy is applied If the DiscriminatorColumn annotation is missing ... ") @Inheritance(strategy=SINGLE_TABLE) @DiscriminatorColumn(name="DISC", discriminatorType=STRING, length
JPA Doc
8

javax.persistence.DiscriminatorValue

. The inheritance strategy and the discriminator column are only specified in the root of an entity class hierarchy or subhierarchy in which a different inheritance strategy is applied. The discriminator ... : @Entity @Table(name="CUST") @Inheritance(strategy=SINGLE_TABLE) @DiscriminatorColumn
JPA Doc
6

javax.persistence.PrimaryKeyJoinColumn

: Customer and ValuedCustomer subclass @Entity @Table(name="CUST") @Inheritance(strategy ... class ValuedCustomer extends Customer { ... } Since: JPA 1.0 See Also: SecondaryTable Inheritance