ObjectDB Database Search

1-50 of 147 results

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

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

AnnotationRef jakarta.persistence.Inheritance

JPA Annotation Inheritance Target: TYPE Implemented Interfaces: Annotation Specifies the inheritance mapping strategy for the entity class hierarchy which descends from the annotated entity class ... . If the Inheritance annotation is not specified, or if no inheritance type is specified for an entity

AnnotationAttrRef jakarta.persistence.Inheritance.strategy

JPA Annotation Attribute in jakarta.persistence. Inheritance InheritanceType strategy default InheritanceType.SINGLE_TABLE The inheritance mapping strategy for the entity inheritance hierarchy. Since: JPA 1.0

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

Usage of Inherited Class

Usage of Inherited Class

Inherited project; missing licence details

Inherited project; missing licence details

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

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

InterfaceRef jakarta.persistence.metamodel.EmbeddableType

in the managed type Inherited from: ManagedType Since: JPA 2.0 Set getAttributes () Return the attributes of the managed type. Return: attributes of the managed type Inherited from: ManagedType ... - if attribute of the given name is not present in the managed type Inherited from: ManagedType

InterfaceRef jakarta.persistence.Subgraph

: IllegalStateException - if the EntityGraph has been statically defined Inherited from: Graph Since: JPA 3.2 ... has been statically defined Inherited from: Graph Since: JPA 3.2 void addAttributeNodes ( Attribute ...  ... Inherited from: Graph Since: JPA 3.2 void addAttributeNodes (String... attributeName) Add

InterfaceRef jakarta.persistence.metamodel.IdentifiableType

: IllegalArgumentException - if attribute of the given name is not present in the managed type Inherited from: ManagedType ... of the managed type Inherited from: ManagedType Since: JPA 2.0 CollectionAttribute getCollection ... the managed type Inherited from: ManagedType Since: JPA 2.0 CollectionAttribute getCollection

InterfaceRef jakarta.persistence.EntityGraph

defined Inherited from: Graph Since: JPA 3.2 AttributeNode addAttributeNode (String attributeName ... . IllegalStateException - if the EntityGraph has been statically defined Inherited from: Graph Since: JPA 3.2 ... - if this EntityGraph has been statically defined Inherited from: Graph Since: JPA 3.2 void

InterfaceRef jakarta.persistence.criteria.Join

been obtained through correlation Inherited from: From Since: JPA 2.0 JoinType getJoinType ... . Modifications to the set do not affect the query. Return: joins made from this type Inherited from: From ... through correlation Inherited from: From Since: JPA 2.0 Join join (Class  entityClass) Create and add an inner

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

InterfaceRef jakarta.persistence.StoredProcedureQuery

getCacheRetrieveMode () The cache retrieval mode that will be in effect during query execution. Inherited ... effect during query execution. Inherited from: Query Since: JPA 3.2 int getFirstResult ... applied to the query object. Return: position of the first result Inherited from: Query Since: JPA 2.0

InterfaceRef jakarta.persistence.TypedQuery

execution exceeds the query timeout value set and the transaction is rolled back Inherited from: Query ... effect during query execution. Inherited from: Query Since: JPA 3.2 CacheStoreMode getCacheStoreMode () The cache storage mode that will be in effect during query execution. Inherited from: Query

InterfaceRef jakarta.persistence.criteria.Subquery

type of the expression Return: new expression of the given type Inherited from: Expression ... . Parameters: type - a basic type Return: a scalar expression of the given basic type Inherited from ... . Parameters: value - expression to be tested against Return: predicate testing for equality Inherited

InterfaceRef jakarta.persistence.criteria.ParameterExpression

- intended type of the expression Return: new expression of the given type Inherited from: Expression ... required. Parameters: type - a basic type Return: a scalar expression of the given basic type Inherited ... against Return: predicate testing for equality Inherited from: Expression Since: JPA 3.2 Predicate equalTo

InterfaceRef jakarta.persistence.criteria.From

: attribute - target of the join Return: the resulting join Inherited from: FetchParent Since: JPA 2.0 ... of the join jt - join type Return: the resulting join Inherited from: FetchParent Since: JPA 2.0 Fetch ... Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( SingularAttribute  attribute, 

InterfaceRef jakarta.persistence.metamodel.MappedSuperclassType

the identifiable type or if the identifiable type has an id class Inherited from: IdentifiableType ... : IllegalArgumentException - if version attribute of the type is not declared in the identifiable type Inherited ... class Inherited from: IdentifiableType Since: JPA 2.0 Set getIdClassAttributes () Return

InterfaceRef jakarta.persistence.metamodel.EntityType

if the identifiable type has an id class Inherited from: IdentifiableType Since: JPA 2.0 SingularAttribute ... attribute of the type is not declared in the identifiable type Inherited from: IdentifiableType ... is not present in the identifiable type or if the identifiable type has an id class Inherited from

InterfaceRef jakarta.persistence.criteria.CriteriaQuery

Return: query root corresponding to the given entity Inherited from: AbstractQuery Since: JPA 2.0 Root ... the entity of type X Return: query root corresponding to the given entity Inherited from ... . Return: the list of grouping expressions Inherited from: AbstractQuery Since: JPA 2.0 Predicate

InterfaceRef jakarta.persistence.criteria.Fetch

: the resulting join Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( PluralAttribute   ... : the resulting join Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( SingularAttribute  attribute ... : attribute - target of the join Return: the resulting fetch join Inherited from: FetchParent Since: JPA 2.0

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$Coalesce

of the expression Return: new expression of the given type Inherited from: Expression Since: JPA 2.0 Predicate in ... for membership Inherited from: Expression Since: JPA 2.0 Predicate in ( Expression ... values ... - expressions to be tested against Return: predicate testing for membership Inherited from

EnumRef jakarta.persistence.InheritanceType

.InheritanceType Enumerated the options for mapping entity inheritance . See Also: Inheritance .strategy ... the hierarchy has its own table, but that table does not contain columns mapped to inherited fields or ... inherited from class java.lang.Enum compareTo , compareTo , describeConstable , equals , getDeclaringClass

InterfaceRef jakarta.persistence.criteria.CriteriaDelete

. Return: the query parameters Inherited from: CommonAbstractCriteria Since: JPA 2.1 Predicate ... if no restrictions have been specified. Return: where clause predicate Inherited from ... result type Return: subquery Inherited from: CommonAbstractCriteria Since: JPA 2.1 Subquery subquery

InterfaceRef jakarta.persistence.criteria.CriteriaBuilder$In

the query. Return: list of boolean expressions forming the predicate Inherited from: Predicate Since: JPA 2 ... . If the predicate is simple, this is AND . Return: boolean operator for the predicate Inherited from: Predicate ... indicating if the predicate is a negated predicate Inherited from: Predicate Since: JPA 2.0 Predicate not

InterfaceRef jakarta.persistence.Graph

to the graph that corresponds to a map key that is a managed type with inheritance . This allows ... that corresponds to a managed type with inheritance . This allows for multiple subclass subgraphs ... with inheritance . This allows for construction of multi-node entity graphs that include related managed

InterfaceRef jakarta.persistence.criteria.AbstractQuery

Inherited from: CommonAbstractCriteria Since: JPA 2.1 Predicate getRestriction () Return ... have been specified. Return: where clause predicate Inherited from: CommonAbstractCriteria Since: JPA 2.1 Class ... result type Return: subquery Inherited from: CommonAbstractCriteria Since: JPA 2.1 Subquery subquery

AnnotationRef jakarta.persistence.NamedAttributeNode

has inheritance , multiple subgraphs can be specified. These additional subgraphs are intended to add ... of the corresponding NamedSubgraph element. If multiple key subgraphs are specified due to inheritance ... to that NamedSubgraph definition. If the target type has inheritance , multiple subgraphs can be specified

InterfaceRef jakarta.persistence.criteria.CriteriaUpdate

to the set do not affect the query. Return: the query parameters Inherited from: CommonAbstractCriteria ... Inherited from: CommonAbstractCriteria Since: JPA 2.1 Root getRoot () Return the query root. Return ... - the subquery result type Return: subquery Inherited from: CommonAbstractCriteria Since: JPA 2.1

EnumRef jakarta.persistence.PessimisticLockScope

of that instance. If a joined inheritance strategy is used, or if the entity is otherwise mapped ... : Method inherited from class java.lang.Enum compareTo , compareTo , describeConstable , equals , getDeclaringClass , hashCode , name , ordinal , toString , valueOf Method inherited from class java.lang

InterfaceRef jakarta.persistence.criteria.CompoundSelection

. Returns the same selection item. Parameters: name - alias Return: selection item Inherited from ... Throws: IllegalStateException - if selection is not a compound selection Inherited from: Selection ... . Return: boolean indicating whether the selection is a compound selection Inherited from: Selection Since: JPA 2.0

AnnotationRef jakarta.persistence.Convert

of a converter specified by a field or property of an embedded type or inherited mapped superclass ... of an inherited basic or embedded attribute. In these cases, the attributeName must be specified ... . Since: JPA 2.1 boolean disableConversion default false Disables an plain or inherited converter

InterfaceRef jakarta.persistence.metamodel.SingularAttribute

. Return: Java type Inherited from: Bindable Since: JPA 2.0 Bindable .BindableType getBindableType () Return the bindable type of the represented object. Return: bindable type Inherited from: Bindable

InterfaceRef jakarta.persistence.criteria.Selection

, if no alias has been assigned. Return: alias Inherited from: TupleElement Since: JPA 2.0 List ... of the tuple element. Return: the Java type of the tuple element Inherited from: TupleElement

ClassRef jakarta.persistence.EntityNotFoundException

.0 Method inherited from class java.lang.Throwable addSuppressed , fillInStackTrace , getCause ... , printStackTrace , printStackTrace , setStackTrace , toString Method inherited from class java.lang.Object

ClassRef jakarta.persistence.LockTimeoutException

this exception. Return: the entity Since: JPA 2.0 Method inherited from class java.lang.Throwable ... Method inherited from class java.lang.Object equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

ClassRef jakarta.persistence.PessimisticLockException

this exception. Return: the entity. Since: JPA 2.0 Method inherited from class java.lang.Throwable ... inherited from class java.lang.Object equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

EnumRef jakarta.persistence.LockModeType

applications. Since: JPA 1.0 Public Static Enum Methods: Method inherited from class java.lang.Enum compareTo ... , valueOf Method inherited from class java.lang.Object equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

InterfaceRef jakarta.persistence.metamodel.BasicType

Public Methods Class getJavaType () Return the represented Java type. Return: Java type Inherited from: Type Since: JPA 2.0 Type .PersistenceType getPersistenceType () Return the persistence type. Return: persistence type Inherited from: Type Since: JPA 2.0

EnumRef jakarta.persistence.SynchronizationType

Methods: Method inherited from class java.lang.Enum compareTo , compareTo , describeConstable , equals , getDeclaringClass , hashCode , name , ordinal , toString , valueOf Method inherited from class

ClassRef jakarta.persistence.OptimisticLockException

: the entity. Since: JPA 1.0 Method inherited from class java.lang.Throwable addSuppressed , fillInStackTrace ... , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString Method inherited from class

ClassRef jakarta.persistence.NonUniqueResultException

: message - the detail message. Since: JPA 1.0 Method inherited from class java.lang.Throwable ... Method inherited from class java.lang.Object equals , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

ClassRef jakarta.persistence.NoResultException

- the detail message. Since: JPA 1.0 Method inherited from class java.lang.Throwable addSuppressed ... , printStackTrace , printStackTrace , printStackTrace , setStackTrace , toString Method inherited from