Home » Search

About inheritance

11-20 of 72Refresh
Manual
24

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
24

JPA Lifecycle Events

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

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

Inherited project; missing licence details

Inherited project; missing licence details
Forum
23

Usage of Inherited Class

Usage of Inherited Class
Manual
17

Server User List

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

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
9

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
9

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
7

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