ObjectDB Database Search

1-50 of 186 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

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

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

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

Problem with JOIN and inheritance

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

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

jakarta.persistence.criteria.Expression

item. Inherited from Selection Parameters: name - alias Returns: selection item. Since: Jakarta ... . Inherited from TupleElement Returns: alias. Since: Jakarta Persistence (JPA) 1.0 List ... affect the query. Inherited from Selection Returns: list of selection items. Throws

[ODB1] Chapter 8 - ObjectDB Server

elements), no more than one of them can have a sub element. User Inheritance User inheritance ... must be declared in the configuration file before its derived users. One abstract user can inherit from ... of the specified abstract user are inherited except the name attribute. The $user variable (in the path

[ODB1] Chapter 3 - Persistent Classes

. It can include constructors, methods, fields, attributes ( final , abstract , public ), inheritance