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

Does ObjectDB support inheritance of @Embeddable classes?

Does ObjectDB support inheritance of one @Embeddable into another @Embeddable ? webel Dr Darren Kelly Yes. ObjectDB supports hierarchy of embeddable classes. support Support

JPA Metamodel API

to as attributes). For example: // 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

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

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

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 ... . Inherited from Graph Parameters: attribute - attribute Returns: the attribute node. Throws ... argument is ignored and has no effect. Inherited from Graph Parameters: attributeName - name

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 Lifecycle Events

MyEntityWithTwoListeners { } Listeners that are attached to an entity class are inherited by its subclasses unless the subclass excludes inheritance explicitly using the @ExcludeSuperclassListeners annotation

JPA Entity Fields

persistent fields that are inherited from ancestor classes), is stored. When an entity object is stored in ... because a version field is inherited by subclasses. Unlike ORM JPA providers, ObjectDB always manages

Shared (L2) Entity Cache

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

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 ... other basic 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

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

. Most applications are not affected by this, because proxy classes extend the original Java classes and inherit

Server User List

inherited by all the other user definitions but the master user itself cannot be used to connect

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 ... (), 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

Problem with JOIN and inheritance

is quite easy: The "VendorCustomer" class inherits from the "Customer" class. Now with this query I

When using inheritance, you can specify, which ID to use

When storing objects with inheritance , it should be possible to choose, which ID (parent or child class) should be used for new object. For example: public EntityA() {     @Id     long id;     String field1; }   public EntityB

jakarta.persistence.NamedAttributeNode

has inheritance , multiple subgraphs can be specified. These additional subgraphs are intended to add subclass ... NamedSubgraph element. If multiple subgraphs are specified due to inheritance , they are referenced by ... also being specified. If the target type has inheritance , multiple subgraphs can be specified. These additional

jakarta.persistence.Convert

of an embedded type or inherited mapped superclass. It is not necessary to use the Basic annotation (or ... of an inherited basic or embedded attribute. In these cases, the attributeName must be specified ... conversion mappings for attributes inherited from a mapped superclass @Entity @Converts({ @Convert

jakarta.persistence.criteria.CompoundSelection

selection item. Inherited from Selection Parameters: name - alias Returns: selection item ... , if no alias has been assigned. Inherited from TupleElement Returns: alias. Since: Jakarta ... selection. Modifications to the list do not affect the query. Inherited from Selection Returns: list