ObjectDB Database Search
1-50 of 200 resultsJPA Metamodel Attributes and enumerations to represent the attributes of managed persistent types (entities, embeddable and superclasses). Metamodel Attributes Hierarchy in Jakarta Persistence (JPA) 3. Base attribute definitions The core abstractions of model attributes are the following components: The top-level | |
JPA Attributes Annotations Jakarta Persistence (JPA) annotations define how entity attributes (fields and properties ... using the following annotations: Sets a field or property of a basic attribute (e.g., primitives ... (Lazy/Eager) and nullability. Specifies a persistent field or property as an embedded attribute | |
jakarta.persistence.metamodel.Attribute Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel. Attribute Type Parameters: - The type of the represented attribute - The represented type that contains the attribute Represents an attribute of a Java type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType Jakarta Persistence (JPA) Enum in jakarta.persistence.metamodel. Attribute jakarta.persistence.metamodel. Attribute .PersistentAttributeType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.metamodel. Attribute .PersistentAttributeType Implemented Interfaces: Constable , Comparable | |
jakarta.persistence.Graph.getAttributeNode(Attribute) ( Attribute attribute ) Get an existing attribute node for the given attribute . Parameters: attribute - attribute Returns: the attribute node. Throws: NoSuchElementException - if there is no existing node for the attribute . Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Graph.addAttributeNode(Attribute) ( Attribute attribute ) Get an existing attribute node for the given attribute , or add a new attribute node if there is no existing node. Parameters: attribute - attribute Returns: the attribute node. Throws: IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute) ( E entity , Attribute attribute ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: attribute - attribute whose load state is to be determined entity - entity instance containing the attribute Returns: false | |
jakarta.persistence.Graph.removeAttributeNode(Attribute); Attribute attribute ) Remove an attribute node from the entity graph. When this graph is interpreted as a load graph, this operation suppresses inclusion of an attribute mapped for eager fetching ... Graph.addSubgraph . If there is no existing node for the given attribute , this operation has no effect | |
jakarta.persistence.Graph.hasAttributeNode(Attribute) Jakarta Persistence (JPA) Method in jakarta.persistence.Graph boolean hasAttributeNode ( Attribute attribute ) Determine if there is an existing attribute node for the given attribute . Parameters: attribute - attribute Returns: true if there is an existing attribute node. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Graph.addTreatedSubgraph(Attribute,Class); Attribute attribute , Class type ) Add a node to the graph that corresponds ... for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs. Parameters: attribute - attribute type - entity subclass Returns: subgraph | |
jakarta.persistence.Graph.addSubgraph(Attribute,Class); Attribute attribute , Class type ) Add a node to the graph that corresponds ... of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Returns: subgraph | |
jakarta.persistence.Graph.addKeySubgraph(Attribute,Class); Attribute attribute , Class type ) Add a node to the graph that corresponds to a map ... attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph has been statically | |
jakarta.persistence.PersistenceUnitUtil.load(E,Attribute); E entity , Attribute attribute ) Load the persistent value of a given persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... and attribute . Parameters: attribute - the attribute to be loaded entity - entity instance to be loaded | |
jakarta.persistence.Graph.addAttributeNodes(Attribute...); Attribute ... attribute ) Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attributes , that particular argument is ignored and has no effect. Parameters: attribute - attribute Throws: IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph.addSubgraph(Attribute); Attribute attribute ) Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters: attribute - attribute Returns: subgraph for the attribute . Throws: IllegalStateException - if the EntityGraph | |
jakarta.persistence.Graph.addKeySubgraph(Attribute); Attribute attribute ) Add a node to the graph that corresponds to a map key that is a managed ... . Parameters: attribute - attribute Returns: subgraph for the key attribute . Throws: IllegalStateException - if this EntityGraph has been statically defined. IllegalArgumentException - if the attribute's | |
jakarta.persistence.metamodel.Attribute.getPersistentAttributeType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute PersistentAttributeType getPersistentAttributeType() Return the persistent attribute type for the attribute . Returns: persistent attribute type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.isAssociation() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute boolean isAssociation() Is the attribute an association. Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.isCollection() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute boolean isCollection() Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Returns: boolean indicating whether the attribute is collection-valued. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.getDeclaringType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute ManagedType getDeclaringType() Return the managed type representing the type in which the attribute was declared. Returns: declaring type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.getJavaType() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute Class getJavaType() Return the Java type of the represented attribute . Returns: Java type. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.getJavaMember() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute Member getJavaMember() Return the Member for the represented attribute . Returns: corresponding Member . Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.getName() Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute String getName() Return the name of the attribute . Returns: name. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Bindable.BindableType.SINGULAR_ATTRIBUTE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType SINGULAR_ ATTRIBUTE Single-valued attribute type. See Also: SingularAttribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Bindable.BindableType.PLURAL_ATTRIBUTE Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType PLURAL_ ATTRIBUTE Multivalued attribute type, that is, a collection. See Also: PluralAttribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.BASIC Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType BASIC Basic attribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.EMBEDDED Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType EMBEDDED Embeddable class attribute Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ELEMENT_COLLECTION Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ELEMENT_COLLECTION Element collection Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.PersistentAttributeType() Jakarta Persistence (JPA) Constructor in jakarta.persistence.metamodel. Attribute .PersistentAttributeType PersistentAttributeType() Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.MANY_TO_MANY Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType MANY_TO_MANY Many-to-many association Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ONE_TO_MANY Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ONE_TO_MANY One-to-many association Since: Jakarta Persistence (JPA) 1.0 | |
Database Management Settings specifies the database file and page size settings: The initial attribute specifies the initial size for each new database file. The resize attribute specifies the size by which to extend the database ... . The page attribute specifies the size of a page in a database file. The default value of 2 KB | |
jakarta.persistence.EntityGraph that will be used as a template to define the attribute nodes and boundaries of a graph of entities ... the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified ... ) Get an existing attribute node for the attribute with the given name, or add a new attribute node | |
jakarta.persistence.Graph Instance Methods AttributeNode addAttributeNode ( String attributeName ) Get an existing attribute node for the attribute with the given name, or add a new attribute node if there is no existing node. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws | |
jakarta.persistence.metamodel.EntityType Methods Attribute getAttribute ( String name ) Return the attribute of the managed type ... of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute ... getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes | |
jakarta.persistence.metamodel.IdentifiableType Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... : name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta | |
jakarta.persistence.metamodel.MappedSuperclassType Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws | |
Schema Update ... ... A element has two roles: If you specify the optional new-name attribute , the package name changes from the original name (specified by the required name attribute ) to the new name. All classes in that package are moved to the new package. Additionally, regardless of whether a new-name attribute | |
jakarta.persistence.metamodel.ManagedType Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name is not present in | |
jakarta.persistence.metamodel.EmbeddableType Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name | |
JPA Metamodel and Graphs, and their attributes to build dynamic queries and validate persistence structures. The Metamodel Access ... to retrieve entity and attribute information by class or name, similar to the reflection API in Java. The metamodel represents the domain model through a hierarchy of types and attributes | |
jakarta.persistence.criteria.PluralJoin testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.MapJoin for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.SetJoin for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.CollectionJoin ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute , JoinType jt | |
jakarta.persistence.criteria.Root fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns ... attribute , JoinType jt ) Create a fetch join to the specified single-valued attribute using the given join | |
Index Definition . The optional name attribute has no specific function but might appear in the ObjectDB Explorer and in log ... multiple fields in the members attribute of the @Index or @Unique annotation: @Entity @Index ( members ... lastName; } When you specify indexed fields in the members attribute , you can attach the @Index or @Unique | |
JPA Metamodel Types, Strings, or Dates) that do not contain persistent attributes of their own. An enumeration ... state through attributes form the core of the metamodel: The common superinterface for entities, mapped superclasses, and embeddables, representing any type that manages attributes . A managed type | |
Apache License, Version 2.0, January 2004, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices ... copy of the attribution notices contained within such NOTICE file, excluding those notices ... are for informational purposes only and do not modify the License. You may add Your own attribution notices | |
JPA Fetch Plan Graphs;which attributes should be loaded eagerly. Graph definitions Use the following interfaces to define ... attribute loading within the object hierarchy. The common super-interface for both entity and subgraphs. It provides the base methods for adding attribute nodes to the graph structure. Graph elements |