ObjectDB Database Search

1-50 of 200 results

JPA 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

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.MANY_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType MANY_TO_ONE Many-to-one association Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ONE_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ONE_TO_ONE One-to-one association Since: Jakarta Persistence (JPA) 1.0

JPA Metamodel API

managed fields and properties , also known 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

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

of the attribute . Super Interfaces: Graph This type represents a subgraph for an attribute node ... 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

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

Entity Management Settings

settings: The agent attribute (with a value of "true" or "false" ) specifies whether to load ... attribute specifies how non-enhanced classes are handled. ObjectDB can manage non-enhanced classes by using reflection, which can affect performance. The possible values of the reflection attribute

General Settings and Logging

attribute specifies the directory in which temporary files are generated. The $temp prefix represents ... attribute . The mb and kb suffixes represent megabytes and kilobytes, respectively. The element The inactivity-timeout attribute specifies the timeout in seconds before an inactive network socket

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

Server User List

: The required username and password attributes specify a username and a password that must be provided when the user connects to the server. The optional ip attribute , if specified, allows the user ... - 192.18.194.255 and from 127.0.0.1 . The admin attribute , with a value of true or false , specifies

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