Internal Website Search

1-50 of 87 results

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

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

javax.persistence.EntityGraph

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 must be an entity type. The methods ... to the entity graph . Parameters: attribute - attribute Throws: IllegalStateException

javax.persistence.Subgraph

nodes to the entity graph . Parameters: attribute - attribute Throws: IllegalStateException ... ;attributeName) Add one or more attribute nodes to the entity graph . Parameters: attributeName - name ... addKeySubgraph ( Attribute  attribute) Add a node to the graph that corresponds to a map key

javax.persistence.EntityManager

an EntityGraph. Parameters: rootType - class of entity graph Return: entity graph Since: JPA 2.1 EntityGraph ... . If there is no entity graph with the specified name, null is returned. Parameters: graphName - name of an entity graph Return: entity graph Since: JPA 2.1 Query createNamedQuery (String name) Create

javax.persistence.NamedEntityGraph

that are included in this graph . Since: JPA 2.1 boolean includeAllAttributes default false (Optional ... of the entity graph . Defaults to the entity name of the root entity. Since: JPA 2.1 NamedSubgraph ... for subclasses of the annotated entity class to the entity graph . Specified attributes from superclasses

EntityManagerFactory.addNamedEntityGraph(graphName,entityGraph) - JPA Method

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

javax.persistence.EntityManagerFactory

a named copy of the EntityGraph to the EntityManagerFactory. If an entity graph with the same name already exists, it is replaced. Parameters: graphName - name for the entity graph entityGraph - entity graph Since: JPA 2.1 void addNamedQuery (String name,  Query  query) Define the query

EntityManager.createEntityGraph(graphName) - JPA Method

JPA Method in javax.persistence.EntityManager EntityGraph createEntityGraph (   String graphName ) Return a mutable copy of the named EntityGraph. If there is no entity graph with the specified name, null is returned. 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

Subgraph.addKeySubgraph(attributeName) - JPA Method

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

Subgraph.addKeySubgraph(attribute,type) - JPA Method

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

Subgraph.addKeySubgraph(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph 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 multinode entity graphs that include related managed types. Parameters

EntityGraph.addKeySubgraph(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityGraph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityGraph.addKeySubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityGraph.addSubgraph(attributeName,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (   String attributeName,    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

EntityGraph.addSubgraph(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityGraph.addKeySubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityManager.createEntityGraph(rootType) - JPA Method

JPA Method in javax.persistence.EntityManager EntityGraph createEntityGraph (   Class  rootType ) Return a mutable EntityGraph that can be used to dynamically create an EntityGraph. Parameters: rootType - class of entity graph Return: entity graph Since: JPA 2.1

EntityManager.getEntityGraph(graphName) - JPA Method

JPA Method in javax.persistence.EntityManager EntityGraph getEntityGraph (   String graphName ) Return a named EntityGraph. The returned EntityGraph should be considered immutable. Parameters: graphName - name of an existing entity graph Return: named entity graph Throws

EntityGraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityGraph.addSubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph 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

EntityManager.getEntityGraphs(entityClass) - JPA Method

JPA Method in javax.persistence.EntityManager List getEntityGraphs (   Class  entityClass ) Return all named EntityGraphs that have been defined for the provided class type. Parameters: entityClass - entity class Return: list of all entity graphs defined for the entity Throws: IllegalArgumentException - if the class is not an entity Since: JPA 2.1

Subgraph.addAttributeNodes(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph void addAttributeNodes (    Attribute ... attribute ) Add one or more attribute nodes to the entity graph . Parameters: attribute - attribute Throws: IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

Subgraph.addAttributeNodes(attributeName) - JPA Method

JPA Method in javax.persistence.Subgraph void addAttributeNodes (   String... attributeName ) Add one or more attribute nodes to the entity graph . Parameters: attributeName - name of the attribute Throws: IllegalArgumentException - if the attribute is not an attribute

javax.persistence.AttributeNode

JPA Interface AttributeNode Type Parameters: - The type of the attribute. Represents an attribute node of an entity graph . See Also: EntityGraph Subgraph NamedAttributeNode Since: JPA 2.1 Public Methods String getAttributeName () Return the name of the attribute corresponding to the attribute node

EntityGraph.getAttributeNodes() - JPA Method

JPA Method in javax.persistence.EntityGraph List getAttributeNodes () Return the attribute nodes of this entity that are included in the entity graph . Return: attribute nodes for the annotated entity type or empty list if none have been defined Since: JPA 2.1

EntityGraph.addSubclassSubgraph(type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubclassSubgraph (   Class  type ) Add additional attributes to this entity graph that correspond to attributes of subclasses of this EntityGraph's entity type. Subclass subgraphs will automatically include the specified

javax.persistence.NamedEntityGraph.name

JPA Annotation Attribute in javax.persistence.NamedEntityGraph String name default "" (Optional) The name of the entity graph . Defaults to the entity name of the root entity. Since: JPA 2.1

EntityGraph.addAttributeNodes(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph void addAttributeNodes (    Attribute ... attribute ) Add one or more attribute nodes to the entity graph . Parameters: attribute - attribute Throws: IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

EntityGraph.addAttributeNodes(attributeName) - JPA Method

JPA Method in javax.persistence.EntityGraph void addAttributeNodes (   String... attributeName ) Add one or more attribute nodes to the entity graph . Parameters: attributeName - name of the attribute Throws: IllegalArgumentException - if the attribute is not an attribute

[ODB1] Chapter 6 - Persistent Objects

. From the point of view of the developer, it looks like the entire graph of objects is present in

[ODB1] Chapter 9 - ObjectDB Explorer

and may therefore be represented by more than one node. To help identify circles in the graph of objects, a special {R} sign

javax.jdo.PersistenceManager

and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph ... and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph ... _UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph of instances

PersistenceManager.detachCopyAll(pcs) - JDO Method

and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph ... the current FetchPlan will be traversed. Thus, to detach a graph of objects, relations

PersistenceManager.detachCopyAll(pcs) - JDO Method

for the graph of instances reachable from the pcs parameter. The state of fields in the affected

PersistenceManager.detachCopy(pc) - JDO Method

JDO Method in javax.jdo.PersistenceManager T detachCopy (   T pc ) Detach the specified instance from the PersistenceManager . The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph

PersistenceManager.makeTransientAll(useFetchPlan,pcs) - JDO Method

parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph

PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method

parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph

PersistenceManager.makeTransientAll(pcs,useFetchPlan) - JDO Method

parameter is true, then the current FetchPlan is applied to the pcs parameters and the entire graph

PersistenceManager.makeTransient(pc,useFetchPlan) - JDO Method

) had been called. After the graph of instances is loaded, the instances reachable via loaded fields