ObjectDB Database Search
1-50 of 177 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 | |
Paths and Types in JPQL and Criteria API the JPA Criteria API by the Path interface and its subinterfaces, such as From , Root , and Join . Path expressions The Root and Join interfaces, which are subinterfaces of From , represent FROM ... using the get method: // FROM Variable Paths: Root country = query. from (Country.class); Join | |
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 | |
Online Backup root directory. By default, this is $objectdb/backup , a subdirectory of the ObjectDB home directory ... subdirectory is created in the backup root directory. The subdirectory's name reflects the current ... a custom backup root directory by setting the target parameter before you execute the backup query | |
JPA Criteria API Queries: CriteriaBuilder cb = em. getCriteriaBuilder (); CriteriaQuery q = cb. createQuery (Country.class); Root c ... , a CriteriaQuery instance is created to represent the query. A Root instance defines the FROM clause's range ... .class); Root c = q. from (Country.class); ParameterExpression p = cb. parameter (Integer.class); q | |
Database Replication and Clustering root directory, $replication , which is located under the server's data root directory. To start | |
JPA Criteria FROM and JOIN The Jakarta Persistence Criteria API uses a specific set of interfaces to construct the FROM clause of a query. These interfaces define query variables, including entity roots and various join types ... to both map keys and values. The parent interface of Root and Join , defining the common | |
JPA Exceptions Jakarta Persistence (JPA) defines a hierarchy of unchecked exceptions rooted in PersistenceException to handle runtime failures. This structure enables applications to catch specific errors or ... General persistence exceptions The base class for general persistence failures is: This is the root | |
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 | |
Chapter 6 - Configuration The ObjectDB configuration file contains one root element with seven child elements: ... ... ... ... ... ... ... Each of these seven configuration elements is explained in a separate section: The configuration path By default, the configuration file is loaded from $objectdb/objectdb.conf | |
GROUP BY and HAVING clauses. createQuery (Country.class); Root c = q. from (Country.class); q. multiselect (c. get ("currency"), cb. sum | |
JPA Persistence Unit an extension) automatically registers classes in the classpath root directory that contains the META | |
Server User List specifies a directory path relative to the root data directory. Permission to access a directory includes | |
ORDER BY clause (JPQL / Criteria API) the criteria query API as follows: CriteriaQuery q = cb. createQuery (Country.class); Root c = q | |
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.CriteriaUpdate.from(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaUpdate 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 that is being updated | |
jakarta.persistence.criteria.CriteriaUpdate.from(EntityType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaUpdate Root from ( EntityType entity ) 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 that is being updated | |
jakarta.persistence.criteria.CriteriaDelete.from(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaDelete 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 | |
jakarta.persistence.criteria.CriteriaDelete.from(EntityType) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaDelete Root from ( EntityType entity ) 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 | |
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 | |
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 | |
Getting Started with JPA - Eclipse Project directory as Root Directory and press ENTER . Select the project and click Finish . Run the project in |