ObjectDB Database Search

1-50 of 108 results

InterfaceRef jakarta.persistence.Graph

JPA Interface Graph Declares operations common to EntityGraph and Subgraph . See Also: EntityGraph ... to the entity graph . If there is already an existing node for one of the given attributes, that particular ... ... attributeName) Add one or more attribute nodes to the entity graph

Graph.removeAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph void removeAttributeNode (    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. The effect

Graph.removeAttributeNode(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph void removeAttributeNode (   String attributeName ) 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. The effect

Graph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addKeySubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs

Graph.addKeySubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addKeySubgraph (    Attribute  attribute ) Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters

Graph.addKeySubgraph(attributeName,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addKeySubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs

Graph.addKeySubgraph(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addKeySubgraph (   String attributeName ) Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters

Graph.addElementSubgraph(attributeName,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addElementSubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs

Graph.addElementSubgraph(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addElementSubgraph (   String attributeName ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related managed types

Graph.addTreatedMapKeySubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addTreatedMapKeySubgraph (    MapAttribute  attribute,    Class  type ) Add a node to the graph that corresponds ... entity graphs that include related managed types. Subclass subgraphs will automatically include

Graph.addMapKeySubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addMapKeySubgraph (    MapAttribute  attribute ) Add a node to the graph that corresponds to a map key that is a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters

Graph.getAttributeNodes() - JPA Method

JPA Method in jakarta.persistence. Graph List getAttributeNodes () Return the attribute nodes corresponding to the attributes of this managed type that are included in the graph . Return: list of attribute nodes included in the graph or an empty list if none have been defined Since: JPA 3.2

Graph.removeAttributeNodes(nodeTypes) - JPA Method

JPA Method in jakarta.persistence. Graph void removeAttributeNodes (    Attribute .PersistentAttributeType nodeTypes ) Remove all attribute nodes of the given attribute types. When this graph is interpreted as a load graph , this operation suppresses inclusion of attributes mapped

Graph.addSubgraph(attributeName,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addSubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a managed type ... of the entity graph . Subclass subgraphs will automatically include the specified attributes of superclass

Graph.addSubgraph(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addSubgraph (   String attributeName ) 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: attributeName - name

Graph.addTreatedElementSubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addTreatedElementSubgraph (    PluralAttribute  attribute,    Class  type ) Add a node to the graph ... graphs that include related managed types. Parameters: attribute - attribute Return: subgraph

Graph.addElementSubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addElementSubgraph (    PluralAttribute  attribute ) Add a node to the graph that corresponds to a collection element that is a managed type. This allows for construction of multi-node entity graphs that include related managed types

Graph.addSubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addSubgraph (    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 Return

Graph.addSubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addSubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a managed type ... of the entity graph . Subclass subgraphs will automatically include the specified attributes of superclass

Graph.addTreatedSubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence. Graph Subgraph addTreatedSubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds ... of the entity graph . Subclass subgraphs will automatically include the specified attributes

Graph.addAttributeNodes(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph void addAttributeNodes (   String... attributeName ) Add one or more attribute nodes to the entity graph . If there is already an existing node for one of the given attribute names, that particular argument is ignored and has no effect

Graph.addAttributeNodes(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph void addAttributeNodes (    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

Graph.addAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph AttributeNode addAttributeNode (    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 Return: the attribute node Throws

Graph.addAttributeNode(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph 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 Return

Graph.hasAttributeNode(attribute) - JPA Method

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 Return: true if there is an existing attribute node Since: JPA 3.2

Graph.hasAttributeNode(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph boolean hasAttributeNode (   String attributeName ) Determine if there is an existing attribute node for the attribute with the given name. Parameters: attributeName - name of the attribute Return: true if there is an existing attribute node

Graph.getAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence. Graph AttributeNode getAttributeNode (    Attribute  attribute ) Get an existing attribute node for the given attribute. Parameters: attribute - attribute Return: the attribute node Throws: java.util.NoSuchElementException - if there is no existing node for the attribute Since: JPA 3.2

Graph.getAttributeNode(attributeName) - JPA Method

JPA Method in jakarta.persistence. Graph AttributeNode getAttributeNode (   String attributeName ) Get an existing attribute node for the attribute with the given name. Parameters: attributeName - name of the attribute Return: the attribute node Throws: IllegalArgumentException

Retrieving JPA Entity Objects

the entire graph of objects is present in memory. This illusion, which is based on lazy transparent ... of all the persistent fields. As seen, the entire graph of objects is available for navigation

ObjectDB - JPA Object Database for Java

requires slow conversions between graphs of Java objects and flat database table rows. Object Relational ... , and even add their own overhead. ObjectDB supports direct storage of graphs of objects

What are the main benefits of using ObjectDB?

ObjectDB is especially designed to store and manage graphs of objects efficiently. That can accelerate

What is ObjectDB?

objects (and graphs of objects) in an ObjectDB database directly. There's no need to define tables

Database Explorer

. To help identify circles in the graph of objects, a special {R} sign (indicating recursive

InterfaceRef jakarta.persistence.EntityGraph

JPA Interface EntityGraph Type Parameters: - The type of the root entity. Super Interfaces: Graph This type represents the root of an entity graph that will be used as a template to define the attribute nodes and boundaries of a graph of entities and entity relationships. The root

InterfaceRef jakarta.persistence.Subgraph

JPA Interface Subgraph Type Parameters: - The type of the attribute. Super Interfaces: Graph ... : 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 ... 

InterfaceRef jakarta.persistence.EntityManager

) Create a new mutable EntityGraph , allowing dynamic definition of an entity graph . Parameters: rootType - class of entity graph Return: entity graph Since: JPA 2.1 EntityGraph createEntityGraph (String ... graph with the given name. Parameters: graphName - name of an entity graph Return: entity graph

Fetch a whole entity graph eager

next version ObjectDB 3.0? And do you know an easy possibility to get an entirely eager entity graph with all depended entities which we can use as a detached full accessible entity graph outside ... , we have still always the problem to get a complex completed eager entity graph . The best solution would be to provide

AnnotationRef jakarta.persistence.NamedEntityGraph

plain. This annotation must be applied to the root entity of the graph , and specifies the limits of the graph of associated attributes and entities fetched when an operation which retrieves an instance or instances of the root entity is executed. A reference to a named entity graph may be obtained by

InterfaceRef jakarta.persistence.EntityManagerFactory

. If an entity graph with the given name already exists, it is replaced. Parameters: graphName - name for the entity graph entityGraph - entity graph Since: JPA 2.1 void addNamedQuery (String name,  ... : entityType - any Java type, including {@code Object.class} meaning all entity graphs - the specified

EntityManagerFactory.addNamedEntityGraph(graphName,entityGraph) - JPA Method

EntityGraph to this EntityManagerFactory . If an entity graph with the given name already exists, it is replaced. Parameters: graphName - name for the entity graph entityGraph - entity graph Since: JPA 2.1

EntityManager.find(entityGraph,primaryKey,options) - JPA Method

, and interpreting the EntityGraph as a load graph . Search for an entity with the specified type ... , this option may or may not be observed. Parameters: entityGraph - entity graph interpreted as a load graph primaryKey - primary key options - standard and vendor-specific options Return: the found

EntityManagerFactory.getNamedEntityGraphs(entityType) - JPA Method

} meaning all entity graphs - the specified upper bound on the entity graph types Return: a map keyed by graph name Since: JPA 3.2

EntityManager.createEntityGraph(rootType) - JPA Method

JPA Method in jakarta.persistence.EntityManager EntityGraph createEntityGraph (   Class  rootType ) Create a new mutable EntityGraph , allowing dynamic definition of an entity graph . Parameters: rootType - class of entity graph Return: entity graph Since: JPA 2.1

EntityManager.getEntityGraph(graphName) - JPA Method

should be considered immutable. Parameters: graphName - name of an existing entity graph Return: named entity graph Throws: IllegalArgumentException - if there is no entity of graph with the given name Since: JPA 2.1

EntityManager.createEntityGraph(graphName) - JPA Method

JPA Method in jakarta.persistence.EntityManager EntityGraph createEntityGraph (   String graphName ) Obtain a mutable copy of a named EntityGraph , or return null if there is no entity graph with the given name. Parameters: graphName - name of an entity graph Return: entity graph Since: JPA 2.1

Subgraph.addKeySubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addKeySubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a map key that is a managed type with inheritance. This allows for construction of multi-node entity graphs

Subgraph.addSubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (   String attributeName,    Class  type ) Add a node to the graph that corresponds to a managed type ... of the entity graph . Subclass subgraphs will automatically include the specified attributes of superclass

Subgraph.addSubgraph(attributeName) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (   String attributeName ) 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: attributeName - name

Subgraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (    Attribute  attribute,    Class  type ) Add a node to the graph that corresponds to a managed ... of the entity graph . Subclass subgraphs will automatically include the specified attributes of superclass

Subgraph.addSubgraph(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (    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 Return