ObjectDB Database Search

1-50 of 200 results

jakarta.persistence.Inheritance

Jakarta Persistence (JPA) Annotation Type jakarta.persistence. Inheritance Implemented Interfaces: Annotation Target: Type Specifies the inheritance mapping strategy for the entity class hierarchy ... that is the root of the entity class hierarchy. If the Inheritance annotation is not specified, or

jakarta.persistence.Inheritance.strategy

Jakarta Persistence (JPA) Method in jakarta.persistence. Inheritance InheritanceType strategy The inheritance mapping strategy for the entity inheritance hierarchy. Default: InheritanceType.SINGLE_TABLE Since: Jakarta Persistence (JPA) 1.0

JPA inheritance issue with ObjectDB - Field not found in type error

I'm using ObjectDB as my JPA provider, and I'm facing an issue with inheritance . My classes are as ... ; // other fields, getters, and setters } @Entity @ Inheritance public class PharmaceuticalItem extends Item implements Serializable { // ... } @Entity @ Inheritance public class Vtm extends PharmaceuticalItem

JPA Metamodel API

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

JPA ORM Mapping Annotations

a column that is used to maintain the persistent order of a list. Inheritance mapping Define how inheritance hierarchies map to relational tables: Defines the inheritance strategy to be used for an entity ... a foreign key to join to another table (often used in JOINED inheritance ). A container annotation

jakarta.persistence.criteria.PluralJoin

reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias ... failure. Inherited from Expression Parameters: type - intended type of the expression Returns: new ... , and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.MapJoin

, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection ... : may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... . Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given

jakarta.persistence.criteria.SetJoin

reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from Expression Parameters: type - intended type of the expression Returns: new expression ... . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.CollectionJoin

cannot be changed or reassigned. Returns the same selection item. Inherited from Selection ... : may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... . Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic

jakarta.persistence.criteria.ListJoin

reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from Expression Parameters: type - intended type of the expression Returns: new ... , and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.Join

, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression

jakarta.persistence.criteria.Root

. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression

JPA Lifecycle Events

attached to an entity class are inherited by its subclasses. To prevent this inheritance , add ... on superclasses (from the top of the inheritance hierarchy down), and finally, listeners on the entity class ... which they are specified. Internal callback methods are invoked in order of inheritance , from the highest-level superclass down to the entity class.

jakarta.persistence.metamodel.EntityType

that corresponds to the specified name. Inherited from ManagedType Parameters: name - the name ... getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes ... of the represented entity or attribute is returned. Inherited from Bindable Returns: Java type

jakarta.persistence.metamodel.MappedSuperclassType

the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType ... . Since: Jakarta Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited ... attribute of the managed type that corresponds to the specified name and Java element type. Inherited from

jakarta.persistence.EntityGraph

if there is no existing node. Inherited from Graph Parameters: attributeName - name of the attribute ... . Inherited from Graph Parameters: attribute - attribute Returns: the attribute node. Throws ... is ignored and has no effect. Inherited from Graph Parameters: attributeName - name of the attribute

jakarta.persistence.Subgraph

. Inherited from Graph Parameters: attributeName - name of the attribute Returns: the attribute node ... attribute, or add a new attribute node if there is no existing node. Inherited from Graph Parameters ... . Inherited from Graph Parameters: attributeName - name of the attribute Throws

jakarta.persistence.criteria.From

the same selection item. Inherited from Selection Parameters: name - alias Returns: selection item ... conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from ... for typecasts between other basic types is not required. Inherited from Expression Parameters: type

jakarta.persistence.metamodel.IdentifiableType

of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters ... Persistence (JPA) 1.0 Set getAttributes () Return the attributes of the managed type. Inherited from ... of the managed type that corresponds to the specified name and Java element type. Inherited from

jakarta.persistence.metamodel.EmbeddableType

to the specified name. Inherited from ManagedType Parameters: name - the name of the represented attribute ... the attributes of the managed type. Inherited from ManagedType Returns: attributes of the managed ... to the specified name and Java element type. Inherited from ManagedType Parameters: name - the name

jakarta.persistence.criteria.Subquery

, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from Selection ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression

JPA Entity Fields

its methods or code. This state is reflected by its persistent fields, including fields inherited from ... per entity class hierarchy is sufficient because subclasses inherit the version field. Unlike ORM

JPA Shared (L2) Entity Cache

is an inherited annotation. An entity class that is not marked with @Cacheable inherits the cacheability setting

jakarta.persistence.StoredProcedureQuery

that will be in effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3 ... execution. Inherited from Query Since: Jakarta Persistence (JPA) 3.2 int getFirstResult () The position ... applied to the query object. Inherited from Query Returns: position of the first result. Since: Jakarta

jakarta.persistence.criteria.CriteriaBuilder.In

cannot be changed or reassigned. Returns the same selection item. Inherited from Selection Parameters ... : may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression ... . Inherited from Expression Parameters: type - a basic type Returns: a scalar expression of the given basic

jakarta.persistence.criteria.ParameterExpression

. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item. Inherited from ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... required. Inherited from Expression Parameters: type - a basic type Returns: a scalar expression

jakarta.persistence.TypedQuery

statement. Inherited from Query Returns: the number of entities updated or deleted. Throws ... effect during query execution. Inherited from Query Since: Jakarta Persistence (JPA) 3.2 CacheStoreMode ... . Inherited from Query Since: Jakarta Persistence (JPA) 3.2 int getFirstResult () The position of the first

jakarta.persistence.criteria.Path

. Inherited from Selection Parameters: name - alias Returns: selection item. Since: Jakarta Persistence ... is not changed. Warning: may result in a runtime failure. Inherited from Expression Parameters: type ... types is not required. Inherited from Expression Parameters: type - a basic type Returns: a scalar

jakarta.persistence.criteria.Predicate

selection item. Inherited from Selection Parameters: name - alias Returns: selection item. Since: Jakarta ... : the runtime type is not changed. Warning: may result in a runtime failure. Inherited from Expression ... between other basic types is not required. Inherited from Expression Parameters: type - a basic type

jakarta.persistence.criteria.CriteriaBuilder.Case

reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from Expression Parameters: type - intended type of the expression Returns: new expression ... . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.CriteriaBuilder.Coalesce

. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from Expression Parameters: type - intended type of the expression Returns: new expression ... . Support for typecasts between other basic types is not required. Inherited from Expression Parameters

jakarta.persistence.criteria.CriteriaBuilder.SimpleCase

reassigned. Returns the same selection item. Inherited from Selection Parameters: name - alias Returns ... . Inherited from Expression Parameters: type - intended type of the expression Returns: new ... , and Double . Support for typecasts between other basic types is not required. Inherited from Expression

jakarta.persistence.criteria.CriteriaQuery

corresponding to the given entity, forming a cartesian product with any existing roots. Inherited ... . Inherited from AbstractQuery Parameters: entity - metamodel entity representing the entity of type X ... expressions have been specified. Modifications to the list do not affect the query. Inherited from

JPA Persistable Types

classes extend the original Java classes and inherit their behavior. You can notice the difference

JPA Metamodel Types

inherited by entities but not being entities themselves. Represents an @Embeddable type, a managed type

JPA Core Types

and inheritance relationships. Jakarta Persistence (JPA) 3.2 Core Types Bootstrapping and Configuration

JPA Criteria Queries

, UPDATE, and DELETE) inherit from the root interface: This root interface provides shared functionality

JPA Components Annotations

are inherited by entity subclasses, but the mapped superclass is not persistent on its own. For details

Server User List

inherit the settings from this master definition. However, the master user itself cannot be used

JPA Exceptions

runtime exception for the JPA API. All other JPA exceptions inherit from this class, enabling

jakarta.persistence.metamodel.ListAttribute

ENTITY_TYPE , the Java type of the represented entity or attribute is returned. Inherited from ... the bindable type of the represented object. Inherited from Bindable Returns: bindable type ... . Inherited from PluralAttribute Returns: collection type. Since: Jakarta Persistence (JPA) 1.0 ManagedType

jakarta.persistence.metamodel.CollectionAttribute

is returned. Inherited from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1.0 BindableType getBindableType () Return the bindable type of the represented object. Inherited from Bindable ... () Return the collection type. Inherited from PluralAttribute Returns: collection type. Since: Jakarta

jakarta.persistence.metamodel.SetAttribute

ENTITY_TYPE , the Java type of the represented entity or attribute is returned. Inherited from Bindable ... the bindable type of the represented object. Inherited from Bindable Returns: bindable type. Since: Jakarta Persistence (JPA) 1.0 CollectionType getCollectionType () Return the collection type. Inherited

jakarta.persistence.metamodel.MapAttribute

or attribute is returned. Inherited from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1.0 BindableType getBindableType () Return the bindable type of the represented object. Inherited ... getCollectionType () Return the collection type. Inherited from PluralAttribute Returns: collection type

jakarta.persistence.metamodel.SingularAttribute

or ENTITY_TYPE , the Java type of the represented entity or attribute is returned. Inherited from ... () Return the bindable type of the represented object. Inherited from Bindable Returns: bindable type ... representing the type in which the attribute was declared. Inherited from Attribute Returns: declaring type

jakarta.persistence.metamodel.PluralAttribute

attribute is returned. Inherited from Bindable Returns: Java type. Since: Jakarta Persistence (JPA) 1.0 BindableType getBindableType () Return the bindable type of the represented object. Inherited ... which the attribute was declared. Inherited from Attribute Returns: declaring type. Since: Jakarta Persistence (JPA) 1

jakarta.persistence.MappedSuperclass

are inherited by the entities which extend it. A mapped superclass is not a persistent type, and is not ... are interpreted in the context of each entity class which inherits the mapped superclass ... is FTEMPLOYEE table @Entity public class FTEmployee extends Employee { // Inherited empId field mapped

jakarta.persistence.InheritanceType

, Serializable Enumerated the options for mapping entity inheritance . See Also: Inheritance .strategy ... to inherited fields or properties, and so the state of an entity instance might be stored across multiple table ... (), valueOf(String) Additional JDK methods inherited from java.lang.Enum clone(), compareTo(E

jakarta.persistence.criteria.Fetch

using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns ... join type. Inherited from FetchParent Parameters: jt - join type attribute - target of the join ... . Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting join

jakarta.persistence.Graph

a node to the graph that corresponds to a map key that is a managed type with inheritance . This allows ... to the graph that corresponds to a map key that is a managed type with inheritance . This allows ... ) Add a node to the graph that corresponds to a managed type with inheritance . This allows for multiple