ObjectDB Database Search
1-50 of 87 resultsjakarta.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 | |
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 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 | |
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 | |
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 | |
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 | |
jakarta.persistence.NamedEntityGraph.name Jakarta Persistence (JPA) Method in jakarta.persistence.NamedEntityGraph String name (Optional) The name used to identify the entity graph in calls to EntityManager.getEntityGraph . If no name is explicitly specified, the name defaults to the entity name of the annotated root entity. Entity graph | |
jakarta.persistence.NamedAttributeNode (Required) The name of the attribute that must be included in the graph . Since: Jakarta Persistence (JPA | |
jakarta.persistence.AttributeNode Jakarta Persistence (JPA) Interface jakarta.persistence.AttributeNode Type Parameters: - The type of the attribute. Represents an attribute node of an entity graph . See Also: EntityGraph Subgraph NamedAttributeNode Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods String | |
jakarta.persistence.EntityManager.getEntityGraphs(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager List getEntityGraphs ( Class entityClass ) Return all named EntityGraph s that are defined for the given entity class type. Parameters: entityClass - entity class Returns: list of all entity graphs defined | |
jakarta.persistence.NamedEntityGraph.subgraphs Jakarta Persistence (JPA) Method in jakarta.persistence.NamedEntityGraph NamedSubgraph[] subgraphs (Optional) A list of subgraphs that are included in the entity graph . These are referenced by name from NamedAttributeNode definitions. Default: {} Since: Jakarta Persistence (JPA) 1.0 |