ObjectDB Database Search
1-50 of 92 resultsJPA Fetch Graphs Annotations Named entity graphs provide a static mechanism for defining fetch plans using annotations on entity classes. These graphs optimize database performance by specifying which attributes and relationships should be loaded eagerly, overriding default lazy loading behavior. Graph Definitions Define | |
JPA Fetch Plan Graphs Jakarta Persistence (JPA) Entity Graphs optimize query performance by specifying which attributes should be loaded eagerly. Graph definitions Use the following interfaces to define ... (Lazy/Eager) at runtime using hints (e.g., jakarta.persistence.fetchgraph ). A nested graph | |
JPA Metamodel and Graphs . It is the common super-interface of both EntityType and Attribute . Retrieval optimization with graphs The API supports the definition of fetch graphs to optimize data loading strategies at runtime: Describes Entity Graphs and Subgraphs. These structures act as "mini-models" or a focused view | |
jakarta.persistence.Graph Jakarta Persistence (JPA) Interface jakarta.persistence. Graph Declares operations common ... nodes to the entity graph . If there is already an existing node for one of the given attribute names ... to the entity graph . If there is already an existing node for one of the given attributes, that particular | |
jakarta.persistence.Graph.removeAttributeNode(String) Jakarta Persistence (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 | |
jakarta.persistence.Graph.removeAttributeNode(Attribute) Jakarta Persistence (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 | |
jakarta.persistence.Graph.removeAttributeNodes(PersistentAttributeType) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph void removeAttributeNodes (   ... . When this graph is interpreted as a load graph , this operation suppresses inclusion of attributes mapped for eager fetching. The effect of this call may be overridden by subsequent invocations of Graph | |
jakarta.persistence.Graph.addSubgraph(Attribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addSubgraph ( Attribute attribute , Class type ) Add a node to the graph that corresponds ... of the entity graph . Subclass subgraphs will automatically include the specified attributes | |
jakarta.persistence.Graph.addKeySubgraph(Attribute) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addKeySubgraph(Attribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addKeySubgraph ( Attribute attribute , Class type ) Add a node to the graph that corresponds to a map ... graphs that include related managed types. Subclass subgraphs will automatically include the specified | |
jakarta.persistence.Graph.addSubgraph(String) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addSubgraph(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addSubgraph ( String attributeName , Class type ) Add a node to the graph that corresponds ... of the entity graph . Subclass subgraphs will automatically include the specified attributes | |
jakarta.persistence.Graph.addElementSubgraph(PluralAttribute) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addTreatedElementSubgraph(PluralAttribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addTreatedElementSubgraph ( PluralAttribute attribute , Class type ) Add a node to the graph ... entity graphs that include related managed types. Parameters: attribute - attribute Returns | |
jakarta.persistence.Graph.addSubgraph(Attribute) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addTreatedSubgraph(Attribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addTreatedSubgraph ( 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 | |
jakarta.persistence.Graph.addKeySubgraph(String) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addKeySubgraph(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addKeySubgraph ( String attributeName , Class type ) Add a node to the graph that corresponds ... graphs that include related managed types. Subclass subgraphs will include the specified attributes | |
jakarta.persistence.Graph.addElementSubgraph(String) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addElementSubgraph(String,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addElementSubgraph ( String attributeName , Class type ) Add a node to the graph that corresponds ... graphs that include related managed types. Parameters: attributeName - name of the attribute type | |
jakarta.persistence.Graph.addMapKeySubgraph(MapAttribute) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addTreatedMapKeySubgraph(MapAttribute,Class) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph Subgraph addTreatedMapKeySubgraph ( MapAttribute attribute , Class type ) Add a node to the graph ... -node entity graphs that include related managed types. Subclass subgraphs will automatically include | |
jakarta.persistence.Graph.getAttributeNodes() Jakarta Persistence (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 . Returns: list of attribute nodes included in the graph or an empty list if none have been defined. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.Graph.addAttributeNodes(String...) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addAttributeNodes(Attribute...) Jakarta Persistence (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 | |
jakarta.persistence.Graph.hasAttributeNode(String) Jakarta Persistence (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 Returns: true | |
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.getAttributeNode(String) Jakarta Persistence (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 Returns: the attribute node. Throws | |
jakarta.persistence.Graph.getAttributeNode(Attribute) Jakarta Persistence (JPA) Method in jakarta.persistence. Graph AttributeNode getAttributeNode ( Attribute attribute ) Get an existing attribute node for the given attribute. Parameters: attribute - attribute Returns: the attribute node. Throws: NoSuchElementException | |
jakarta.persistence.Graph.addAttributeNode(String) Jakarta Persistence (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 | |
jakarta.persistence.Graph.addAttributeNode(Attribute) Jakarta Persistence (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 Returns | |
jakarta.persistence.EntityGraph 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 ... if there is no existing node. Inherited from Graph Parameters: attributeName - name of the attribute | |
jakarta.persistence.Subgraph of the attribute. Super Interfaces: Graph This type represents a subgraph for an attribute node ... . Inherited from Graph Parameters: attributeName - name of the attribute Returns: the attribute node ... attribute, or add a new attribute node if there is no existing node. Inherited from Graph Parameters | |
Retrieving JPA Entities object graph is in memory. This illusion, based on ObjectDB's lazy, transparent activation ... , the entire object graph is available for navigation, regardless of the fetch policy. The fetch | |
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 | |
jakarta.persistence.EntityManager mutable EntityGraph , allowing dynamic definition of an entity graph . Parameters: rootType - class of entity graph Returns: entity graph . Since: Jakarta Persistence (JPA) 2.1 EntityGraph createEntityGraph ... if there is no entity graph with the given name. Parameters: graphName - name of an entity graph Returns: entity graph | |
JPA Named Queries Annotations, cache usage, or fetch graphs . For details and examples, see the JPA Named Queries section | |
JPA Extended API Reference Guide, criteria queries, and JPQL for data retrieval and manipulation. Describes the metamodel and graph APIs | |
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 | |
JPA Annotations defining named entity graphs for eager loading strategies. Field level configuration Configure | |
jakarta.persistence.NamedEntityGraph Interfaces: Annotation Target: Type Defines a named entity graph . This annotation must be applied to the root entity of the graph , and specifies the limits of the graph of associated attributes and entities ... . A reference to a named entity graph may be obtained by calling EntityManager.getEntityGraph | |
jakarta.persistence.EntityManagerFactory a named copy of the given 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: Jakarta Persistence (JPA) 2.1 void addNamedQuery ( String name , Query query | |
jakarta.persistence.EntityManagerFactory.getNamedEntityGraphs(Class) graph types A map keyed by graph name , containing every named entity graph whose entity type ... all entity graphs Returns: a map keyed by graph name. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.EntityManagerFactory.addNamedEntityGraph(String,EntityGraph) of the given 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: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.createEntityGraph(Class) Jakarta Persistence (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 Returns: entity graph . Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.createEntityGraph(String) if there is no entity graph with the given name. Parameters: graphName - name of an entity graph Returns: entity graph . Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.getEntityGraph(String) should be considered immutable. Parameters: graphName - name of an existing entity graph Returns: named entity graph . Throws: IllegalArgumentException - if there is no entity of graph with the given name. Since: Jakarta Persistence (JPA) 2.1 | |
jakarta.persistence.EntityManager.find(EntityGraph,Object,FindOption...) , and interpreting the EntityGraph as a load graph . Search for an entity with the specified type ... -specific options entityGraph - entity graph interpreted as a load graph primaryKey - primary key Returns | |
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 |