ObjectDB Database Search
1-50 of 138 resultsjakarta.persistence.criteria.Root
Jakarta Persistence (JPA) Interface jakarta.persistence.criteria. Root Type Parameters: - the entity type referenced by the root Super Interfaces: From , Path , FetchParent , Expression , Selection , TupleElement A root type in the from clause. Query roots always reference entities. Since: Jakarta
|
|
jakarta.persistence.criteria.CriteriaBuilder.treat(Root,Class)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Root treat ( Root root , Class type ) Downcast Root object to the specified type. Parameters: type - type to be downcast to root - root Returns: Root object of the specified type. Since: Jakarta Persistence (JPA) 2.1
|
|
jakarta.persistence.criteria.Subquery.correlate(Root)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Root correlate ( Root parentRoot ) Create a subquery root correlated to a root of the enclosing query. Parameters: parentRoot - a root of the containing query Returns: subquery root . Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.Root.getModel()
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria. Root EntityType getModel() Return the metamodel entity corresponding to the root . Returns: metamodel entity corresponding to the root . Since: Jakarta Persistence (JPA) 1.0
|
|
FROM clause (JPQL / Criteria API)
range variable that serves as a root and additional join variables that are bound to path expressions ... subinterfaces of From : Range variables are represented by the Root interface. Join variables are represented by the Join interface (and its subinterfaces). Criteria query roots The CriteriaQuery 's from method
|
|
Low performance when getting grove roots
Hi, I have a grove-like structure of objects, every objects referencing its parent. Root objects have null as the value of this parent reference. To find the roots I execute a query. If the number of objects in the tree is significant, this query takes almost forever, it seems ObjectDB loads
|
|
SELECT clause (JPQL / Criteria API)
: CriteriaQuery q = cb. createQuery (Country.class); Root c = q. from (Country.class); q. select (c ... (Object[].class); Root c = q. from (Country.class); q. select (cb. array (c. get ("name"), c ... . createTupleQuery (); Root c = q. from (Country.class); q. select (cb. t uple (c. get ("name"), c. get ("capital
|
|
JPA Criteria Queries
, UPDATE, and DELETE) inherit from the root interface: This root interface provides shared functionality ... queries, including the ability to define roots and apply restrictions. An interface that defines
|
|
Database Replication and Clustering
root directory, $replication , which is located under the server's data root directory. To start
|
|
jakarta.persistence.criteria.Subquery
of the given basic type. Since: Jakarta Persistence (JPA) 3.2 Root correlate ( Root parentRoot ) Create a subquery root correlated to a root of the enclosing query. Parameters: parentRoot - a root of the containing query Returns: subquery root . Since: Jakarta Persistence (JPA) 1.0 Join correlate ( Join
|
|
jakarta.persistence.criteria.AbstractQuery
directly in query construction. All queries must have: a set of root entities (which may in turn ... Persistence (JPA) 1.0 Root from ( Class entityClass ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots . Parameters: entityClass - the entity
|
|
jakarta.persistence.criteria.CriteriaQuery
.. Since: Jakarta Persistence (JPA) 1.0 Root from ( Class entityClass ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots . Inherited from AbstractQuery Parameters: entityClass - the entity class Returns: query root corresponding
|
|
jakarta.persistence.criteria.CriteriaUpdate
. A CriteriaUpdate object must have a single root . Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods Root from ( Class entityClass ) Create and add a query root corresponding to the entity that is the target of the update. A CriteriaUpdate object has a single root , the entity
|
|
jakarta.persistence.criteria.CriteriaDelete
must have a single root . Since: Jakarta Persistence (JPA) 2.1 Public Instance Methods Root from ( Class entityClass ) Create and add a query root corresponding to the entity that is the target of the DELETE. A CriteriaDelete object has a single root , the entity that is being deleted. Parameters: entityClass
|
|
JPA Criteria Query Expressions
represent the fundamental building blocks for query logic: The root interface for all query expressions
|
|
Server Configuration
directory . The data path of an ObjectDB server is similar to the document root directory of a web
|
|
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 the hierarchy and scope of your fetch plans: The root interface for defining a fetch plan. An EntityGraph serves
|
|
Numbers in JPQL and Criteria Queries
function returns the square root of a specified argument. For example: SQRT(9) is evaluated to 3 SQRT(2
|
|
JPA Queries
clause, representing roots , joins, and fetches. General expressions used within query logic, such as
|
|
WHERE clause (JPQL / Criteria API)
as follows: CriteriaQuery q = cb. createQuery (Country.class); Root c = q. from (Country.class); q
|
|
JPA Connections and Transactions
of the database file on the server, relative to the server data root path. Connection URL Parameters
|
|
jakarta.persistence.criteria.CriteriaBuilder
( Expression x ) Create an expression that returns the square root of its argument. Parameters: x - expression Returns: square root . Since: Jakarta Persistence (JPA) 1.0 Expression substring ... of the specified type. Since: Jakarta Persistence (JPA) 2.1 Root treat ( Root root , Class type ) Downcast
|
|
jakarta.persistence.NamedEntityGraph
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 ... . If no name is explicitly specified, the name defaults to the entity name of the annotated root
|
|
jakarta.persistence.EntityGraph
Jakarta Persistence (JPA) Interface jakarta.persistence.EntityGraph Type Parameters: - The type of the root entity. Super Interfaces: Graph This type represents the root of an entity graph ... and entity relationships. The root must be an entity type. The methods to add subgraphs implicitly create
|
|
jakarta.persistence.criteria.AbstractQuery.getRoots()
() Return the query roots . These are the roots that are defined for the CriteriaQuery or Subquery itself, including any subquery roots defined as a result of correlation. Returns an empty set if no roots have been defined. Modifications to the set do not affect the query. Returns: the set of query roots . Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.criteria.AbstractQuery.from(Class)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Root from ( Class entityClass ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots . Parameters: entityClass - the entity class Returns: query
|
|
jakarta.persistence.criteria.AbstractQuery.from(EntityType)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery Root from ( EntityType entity ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots . Parameters: entity - metamodel entity representing
|
|
jakarta.persistence.criteria.PluralJoin
to avoid the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p
|
|
jakarta.persistence.criteria.Path
the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from ... q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p.get("nicknames
|
|
jakarta.persistence.criteria.MapJoin
of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from ... = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p.get("nicknames
|
|
jakarta.persistence.criteria.SetJoin
the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p
|
|
jakarta.persistence.criteria.CollectionJoin
(Person.class); Root p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p.get("nicknames"))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path
|
|
jakarta.persistence.criteria.ListJoin
the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p
|
|
jakarta.persistence.criteria.From
variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person ... .createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p.get("nicknames"); q
|
|
jakarta.persistence.criteria.Join
.createQuery(Person.class); Root p = q.from(Person.class); q.select(p) .where(cb.isMember("joe", p.get("nicknames"))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person
|
|
[ODB1] Chapter 9 - ObjectDB Explorer
general information about the database and the bottom sub window displays a list of root objects that the database contains ( root objects are discussed in chapter 6 ). The "Query" window enables a user ... window to view all the instances of that class. Select a root object in the "Database" tabbed window
|
|
jakarta.persistence.criteria.Path.get(String)
to avoid the use of Path variables. For example: CriteriaQuery q = cb.createQuery(Person.class); Root ... "))); rather than: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p
|
|
jakarta.persistence.criteria.CriteriaBuilder.sqrt(Expression)
Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Expression sqrt ( Expression x ) Create an expression that returns the square root of its argument. Parameters: x - expression Returns: square root . Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.InheritanceType
together with the root class, and each entity instance is stored as a single table row. The concrete subclass
|
|
jakarta.persistence.Inheritance
that is the root of the entity class hierarchy. If the Inheritance annotation is not specified, or
|
|
jakarta.persistence.DiscriminatorColumn
for the root of an entity class hierarchy or subhierarchy in which a different inheritance strategy
|
|
jakarta.persistence.DiscriminatorValue
and the discriminator column are only specified for the root of an entity class hierarchy or subhierarchy in
|
|
jakarta.persistence.EntityManager
primaryKey , FindOption... options ) Find an instance of the root entity of the given EntityGraph by primary
|
|
jakarta.persistence.Version
should be declared by the root entity class in an entity class hierarchy, or by one of its mapped
|
|
[ODB1] Chapter 6 - Persistent Objects
is not deleted from the database, just its name is removed. Objects with names are called root objects ... . A root object can also be retrieved by its name. It is also possible to use an Extent instance ... .getObjectById(oid, false); Retrieval by an Object Name A root object, which is a database object
|
|
jakarta.persistence.InheritanceType.SINGLE_TABLE
Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.InheritanceType SINGLE_TABLE A single table for each entity class hierarchy. Subclasses are stored together with the root class, and each entity instance is stored as a single table row. The concrete subclass represented by a row
|
|
Java EE 6 JPA Tutorial - Eclipse Project
the guestbook-jee6 directory as Root Directory and press ENTER . Select the project and click
|
|
Spring MVC JPA Tutorial - Eclipse Project
-spring directory as Root Directory and press ENTER . Select the project and click Finish
|
|
JPA Web App Tutorial - Eclipse Project
; guestbook-web directory as Root Directory and press ENTER . Select the project and click Finish
|
|
[ODB1] Chapter 8 - ObjectDB Server
. It always includes an root element with two sub elements, and . The sub element specifies general server settings ... to the document root directory of a web server. Every file in the data directory or in ... to the data directory root . A permission to access a directory always includes a permission to access
|