Internal Website Search

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

javax.persistence.Inheritance

JPA Annotation Inheritance Target: TYPE Implemented Interfaces: Annotation Specifies the inheritance strategy to be used for an entity class hierarchy. It is specified on the entity class that is the root of the entity class hierarchy. If the Inheritance annotation is not specified or

javax.persistence.Inheritance.strategy

JPA Annotation Attribute in javax.persistence. Inheritance InheritanceType strategy default SINGLE_TABLE The strategy to be used 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

to an entity class are inherited by its subclasses unless the subclass excludes inheritance explicitly

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

extend the original Java classes and inherit their behavior. The difference can be noticed in

Server User List

definition are automatically inherited by all the other user definitions but the master user

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

javax.persistence.metamodel.IdentifiableType

- 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 (String ... the managed type Inherited from: ManagedType Since: JPA 2.0 CollectionAttribute getCollection (String

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

javax.persistence.criteria.Join

through correlation Inherited from: From Since: JPA 2.0 JoinType getJoinType () Return the join type ... do not affect the query. Return: joins made from this type Inherited from: From Since: JPA 2.0 ... method). Return: boolean indicating whether the object has been obtained through correlation Inherited

javax.persistence.StoredProcedureQuery

if setFirstResult was not applied to the query object. Return: position of the first result Inherited from: Query ... Inherited from: Query Since: JPA 2.0 Map getHints () Get the properties and hints and associated values that are in effect for the query instance. Return: query properties and hints Inherited from: Query

javax.persistence.TypedQuery

execution exceeds the query timeout value set and the transaction is rolled back Inherited from: Query ... result Inherited from: Query Since: JPA 2.0 The Running JPA Queries article explains how to use ... manager. Return: flush mode Inherited from: Query Since: JPA 2.0 Map getHints () Get the properties

javax.persistence.criteria.From

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

javax.persistence.criteria.Subquery

of the expression Return: new expression of the given type Inherited from: Expression Since: JPA 2.0 ... Inherited from: AbstractQuery Since: JPA 2.0 Root from ( EntityType  entity) Create and add ... corresponding to the given entity Inherited from: AbstractQuery Since: JPA 2.0 CommonAbstractCriteria

javax.persistence.criteria.ParameterExpression

of the expression Return: new expression of the given type Inherited from: Expression Since: JPA 2.0 ... no name has been assigned. Return: parameter name Inherited from: Parameter Since: JPA 2.0 Class ... support this use Inherited from: Parameter Since: JPA 2.0 Integer getPosition () Return

javax.persistence.metamodel.MappedSuperclassType

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

javax.persistence.metamodel.EntityType

if the identifiable type has an id class Inherited from: IdentifiableType Since: JPA 2.0 ... - if version 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

[ODB1] Chapter 8 - ObjectDB Server

), no more than one of them can have a sub element. User Inheritance User inheritance may simplify management of many ... file before its derived users. One abstract user can inherit from another abstract user. When using ... are inherited except the name attribute. The $user variable (in the path attribute of $standard

javax.persistence.criteria.CriteriaQuery

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

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

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

javax.persistence.MappedSuperclass

whose mapping information is applied to the entities that inherit from it. A mapped superclass ... since no table exists for the mapped superclass itself. When applied to the subclasses the inherited ... is FTEMPLOYEE table @Entity public class FTEmployee extends Employee { // Inherited empId field

javax.jdo.annotations.Inheritance

JDO Annotation Inheritance Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for the inheritance of the class. Corresponds to the xml element " inheritance " of the "class ... "" Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED

javax.jdo.annotations.Inheritance.strategy

JDO Annotation Attribute in javax.jdo.annotations. Inheritance InheritanceStrategy strategy default InheritanceStrategy.UNSPECIFIED Strategy to use for inheritance . Specifies in which table(s) the members for the class are stored. Since: JDO 2.1

javax.jdo.annotations.Inheritance.customStrategy

JDO Annotation Attribute in javax.jdo.annotations. Inheritance String customStrategy default "" Custom inheritance strategy. If customStrategy is non-empty, then strategy must be UNSPECIFIED. Since: JDO 2.1

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

javax.persistence.Subgraph

that is a managed type with inheritance . This allows for construction of multi-node entity graphs ... that is a managed type with inheritance . This allows for construction of multi-node entity graphs ... a node to the graph that corresponds to a managed type with inheritance . This allows for multiple

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

javax.persistence.EntityGraph

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

javax.persistence.PessimisticLockScope

to the non-collection-valued persistent state of that instance. If a joined inheritance strategy is used, or ... - if the argument is null Method inherited from class java.lang.Enum compareTo , compareTo , describeConstable , equals , getDeclaringClass , hashCode , name , ordinal , toString , valueOf Method inherited

[ODB1] Chapter 4 - JDO Metadata

the inheritance hierarchy must be specified using the persistence-capable-superclass attribute. This attribute is omitted only if there is no persistent super class anywhere in the inheritance hierarchy

[ODB1] Chapter 3 - Persistent Classes

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

javax.jdo.JDOFatalException

exception, then null is returned. Return: the first or only nested Throwable. Inherited from: JDOException ... : the failed object. Inherited from: JDOException Since: JDO 1.0 Throwable[] getNestedExceptions ... the problem, each failed object will have its own Exception . Return: the nested Throwable array. Inherited

javax.jdo.JDOCanRetryException

. Return: the first or only nested Throwable. Inherited from: JDOException Since: JDO 1.0 Object getFailedObject () The exception may include a failed object. Return: the failed object. Inherited from ... will have its own Exception . Return: the nested Throwable array. Inherited from: JDOException Since: JDO 1.0

javax.jdo.identity.LongIdentity

environments. Return: the key as an Object. Inherited from: SingleFieldIdentity Since: JDO 2.0 Class getTargetClass () Return the target class. Return: the target class. Inherited from ... class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached

javax.jdo.identity.IntIdentity

environments. Return: the key as an Object. Inherited from: SingleFieldIdentity Since: JDO 2.0 Class getTargetClass () Return the target class. Return: the target class. Inherited from: SingleFieldIdentity ... name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return the cached hash code

javax.jdo.identity.ObjectIdentity

conditions in multi-threaded environments. Return: the key as an Object. Inherited from ... . Inherited from: SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name. Return: the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int

javax.jdo.identity.ByteIdentity

conditions in multi-threaded environments. Return: the key as an Object. Inherited from ... . Inherited from: SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name. Return: the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode

javax.jdo.identity.CharIdentity

: the key as an Object. Inherited from: SingleFieldIdentity Since: JDO 2.0 Class getTargetClass () Return the target class. Return: the target class. Inherited from: SingleFieldIdentity Since: JDO 2.0 String getTargetClassName () Return the target class name. Return: the target class name. Inherited

javax.jdo.identity.ShortIdentity

multi-threaded environments. Return: the key as an Object. Inherited from: SingleFieldIdentity Since: JDO 2.0 Class getTargetClass () Return the target class. Return: the target class. Inherited from ... : the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode () Return

javax.jdo.identity.StringIdentity

in multi-threaded environments. Return: the key as an Object. Inherited from: SingleFieldIdentity Since: JDO 2.0 Class getTargetClass () Return the target class. Return: the target class. Inherited ... . Return: the target class name. Inherited from: SingleFieldIdentity Since: JDO 2.0 int hashCode

javax.jdo.InstanceCallbacks

which this call is made does not allow access to other persistent JDO instances. Inherited from: LoadCallback Since: JDO 2.0 ... should be cleared. This method is not modified by the enhancer. Inherited from: ClearCallback ... the enhancer so that fields referenced can be used in the business logic of the method. Inherited

javax.jdo.spi.JDOPermission

for setStateManager permission checking. Since: JDO 1.0 Method inherited from class java.security.BasicPermission equals , getActions , hashCode , implies , newPermissionCollection Method inherited from ... , newPermissionCollection , toString Method inherited from class java.lang.Object equals , getClass