ObjectDB Database Search
1-50 of 168 resultsFROM clause (JPQL / Criteria API) variable that serves as a root and additional join variables that are bound to path expressions ... variables are represented by the Root interface. Join variables are represented by the Join interface (and its sub interfaces). Criteria Query Roots The CriteriaQuery 's from method serves as a factory | |
InterfaceRef jakarta.persistence.criteria.Root JPA Interface Root Type Parameters: - the entity type referenced by the root Super Interfaces: FetchParent , From A root type in the from clause. Query roots always reference entities. Since: JPA 2.0 The FROM clause (JPQL / Criteria API) article explains how to use Root . Public Methods EntityType | |
CriteriaBuilder.treat(root,type) - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaBuilder Root treat ( Root root , Class type ) Downcast Root object to the specified type. Parameters: root - root type - type to be downcast to Return: Root object of the specified type Since: JPA 2.1 | |
Root.getModel() - JPA Method JPA Method in jakarta.persistence.criteria. Root EntityType getModel () Return the metamodel entity corresponding to the root . Return: metamodel entity corresponding to the root Since: JPA 2.0 | |
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 its subinterfaces ( From , Root , Join and Join 's descendants). Path Expressions The Root and Join interfaces ... Variable Paths: Root country = query. from (Country.class); Join neighborCountry = country. join ... ( Root , Join ) - The creation of a FROM expression automatically modifies the query by adding | |
SELECT clause (JPQL / Criteria API).class); Root c = q. from (Country.class); q. select (c. get ("currency")). distinct (true ... . createQuery (Object[].class); Root c = q. from (Country.class); q. select (cb. array (c. get ("name ... = cb. createTupleQuery (); Root c = q. from (Country.class); q. select (cb. t uple (c. get ("name"), c | |
Online Backup "objectdb backup" . The backup is created under the backup root directory, which by default ... that reflects the current date and time (e.g. 201912312359 ) is created under the backup root ... (if c:\objectdb is the ObjectDB home directory). Custom Backup Target A custom backup root | |
JPA Criteria API Queries); Root c = q. from (Country.class); q. select (c); The CriteriaBuilder interface serves as the main ... for representing the built query. Then a Root instance is created to define a range variable in the FROM ... = cb. createQuery (Country.class); Root c = q. from (Country.class); ParameterExpression p = cb | |
Database Replication and Clustering databases on the slave server are automatically generated under a special root directory, $replication , under the server data root directory. Starting a new replication of an existing master database | |
Server Configuration to the document root directory of a web server. Every database file in the data directory and in | |
Numbers in JPQL and Criteria Queries;function returns a long value). The SQRT Function The SQRT function returns the square root | |
WHERE clause (JPQL / Criteria API)); Root c = q. from (Country.class); q. select (c); ParameterExpression p = cb. parameter (Integer | |
Database Connection using JPA, relative to the server data root path. Connection URL Parameters The following parameters | |
Chapter 6 - Configuration The ObjectDB configuration file contains one root element with seven subelements: ... ... ... ... ... ... ... Each one of these seven configuration elements is explained in a separate section: This page explains how ObjectDB configuration works in general. The Configuration Path By default | |
GROUP BY and HAVING clauses using the criteria query API as follows: CriteriaQuery q = cb. createQuery (Country.class); Root c = q | |
JPA Persistence Unit packed in a JAR yet, ObjectDB (as an extension) automatically registers classes under the classpath root | |
Server User List path attribute specifies a directory path relative to the root data directory. Permission to access | |
ORDER BY clause (JPQL / Criteria API)); Root c = q. from (Country.class); q. select (c); q. orderBy (cb. asc (c. get ("currency")), cb. desc | |
Criteria Query From Elements variables (bound by an entity class) are represented by the Root subinterface: Join variables (bound by | |
JPA Exceptions.TransactionRequiredException Exception Class Overview The root of the JPA exception class subtree is: General errors | |
InterfaceRef jakarta.persistence.criteria.Subquery. Parameters: parentMap - join object of the containing query Return: subquery join Since: JPA 2.0 Root correlate ( Root parentRoot) Create a subquery root correlated to a root of the enclosing query. Parameters: parentRoot - a root of the containing query Return: subquery root Since: JPA 2.0 SetJoin | |
InterfaceRef jakarta.persistence.criteria.AbstractQuery must have: a set of root entities (which may in turn own joins). All queries may have: a conjunction ... Since: JPA 2.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 | |
InterfaceRef jakarta.persistence.criteria.CriteriaQuery.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 class Return: query root corresponding to the given entity Inherited from: AbstractQuery Since: JPA 2.0 Root | |
InterfaceRef jakarta.persistence.criteria.CriteriaDelete of the bulk delete. A CriteriaDelete object must have a single root . Since: JPA 2.1 Public 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 | |
InterfaceRef jakarta.persistence.criteria.CriteriaUpdate synchronized with the result of the bulk update. A CriteriaUpdate object must have a single root . Since: JPA 2.1 Public 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 | |
InterfaceRef jakarta.persistence.criteria.CriteriaBuilder ( Expression x) Create an expression that returns the square root of its argument. Parameters: x - expression Return: square root Since: JPA 2.0 Expression substring ( Expression x,  ... - path type - type to be downcast to Return: Path object of the specified type Since: JPA 2.1 Root treat | |
Subquery.correlate(parentRoot) - JPA Method 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 Return: subquery root Since: JPA 2.0 | |
AbstractQuery | |
CriteriaDelete.from(entity) - JPA Method 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. Parameters: entity | |
CriteriaDelete.from(entityClass) - JPA Method 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. Parameters: entityClass | |
AbstractQuery | |
InterfaceRef jakarta.persistence.spi.PersistenceUnitInfo Since: JPA 1.0 boolean excludeUnlistedClasses () Returns whether classes in the root of the persistence ... : whether classes in the root of the persistence unit that have not been explicitly listed are to be included ... the URL for the jar file or directory that is the root of the persistence unit. (If the persistence unit | |
AbstractQuery | |
CriteriaUpdate.from(entity) - JPA Method 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. Parameters: entity | |
CriteriaUpdate.from(entityClass) - JPA Method 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. Parameters: entityClass | |
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 | |
CriteriaDelete.getRoot() - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaDelete Root getRoot () Return the query root . Return: the query root Since: JPA 2.1 | |
AnnotationRef jakarta.persistence.NamedEntityGraph plain. This annotation must be applied to the root entity of the graph, and specifies the limits ... or instances of the root entity is executed. A reference to a named entity graph may be obtained by ... of the annotated root entity. Entity graph names must be unique within the persistence unit. Since: JPA 2.1 | |
InterfaceRef jakarta.persistence.EntityGraph JPA Interface EntityGraph Type Parameters: - The type 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 and entity relationships. The root | |
CriteriaUpdate.getRoot() - JPA Method JPA Method in jakarta.persistence.criteria.CriteriaUpdate Root getRoot () Return the query root . Return: the query root Since: JPA 2.1 | |
Path | |
InterfaceRef jakarta.persistence.criteria.From. For example: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); q.select(p ... : CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p.get(" | |
CriteriaBuilder.sqrt(x) - JPA Method 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 Return: square root Since: JPA 2.0 | |
InterfaceRef jakarta.persistence.criteria.Path: CriteriaQuery q = cb.createQuery(Person.class); Root p = q.from(Person.class); q.select(p) .where(cb ... = cb.createQuery(Person.class); Root p = q.from(Person.class); Path nicknames = p.get(" | |
PersistenceUnitInfo.getPersistenceUnitRootUrl() - JPA Method JPA Method in jakarta.persistence.spi.PersistenceUnitInfo URL getPersistenceUnitRootUrl () Returns the URL for the jar file or directory that is the root of the persistence unit. (If the persistence unit is rooted in the WEB-INF/classes directory, this is the URL of that directory.) The URL | |
PersistenceUnitInfo.excludeUnlistedClasses() - JPA Method JPA Method in jakarta.persistence.spi.PersistenceUnitInfo boolean excludeUnlistedClasses () Returns whether classes in the root of the persistence unit that have not been explicitly listed ... element in the persistence.xml file. Return: whether classes in the root of the persistence unit |