ObjectDB Database Search
1-50 of 200 resultsSELECT clause (JPQL / Criteria API) query = em. createQuery ("SELECT c FROM Country c", Country.class); List results = query. getResultList (); Because the results are managed entities they have all the support that JPA provides ... for deletion , and so on. Query results are not limited to entities. You can use almost any valid JPQL | |
Setting and Tuning of JPA Queries getSingleResult . Result range (setFirstResult, setMaxResults) The setFirstResult and setMaxResults methods let you define a result window, which is a portion of a large query result list. The setFirstResult method specifies the starting point of the result window by defining how many results to skip from | |
Running JPA Queries when exactly one result object is expected. Query.getResultList () : Use in any other case ... when exactly one result object is expected. TypedQuery.getResultList () : Use in any other case. In ... Country c", Country.class); List results = query. getResultList (); Both the Query and TypedQuery | |
FROM clause (JPQL / Criteria API)) is not part of any iterated pair and is therefore excluded from the query results . INNER JOIN ... performance problems. For example, consider the following query execution and result iteration: TypedQuery query = em. createQuery ("SELECT c FROM Country c", Country.class); List results = query | |
Database Management Settings can improve performance by reducing file fragmentation that can result from frequent resize operations ... sync= "false" results in much faster database writes, but sync="true" is safer for production ... for the two query cache mechanisms that ObjectDB manages: The results attribute specifies the size | |
SQL Queries Annotations dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map the results of native SQL queries to entities or scalar values using these annotations: Defines how the result set of a native query maps to entities, scalar values, or constructor results . Groups | |
JPA Query API result type is unknown or when a query returns polymorphic results whose lowest common denominator is Object . When a more specific result type is expected, use the TypedQuery interface. The TypedQuery interface makes it easier to run queries and process results in a type-safe manner. Building queries | |
Logical Operators in JPQL and Criteria API is NULL and the other is FALSE , the result is FALSE because one FALSE operand is sufficient to make the expression false. If one operand is NULL and the other is TRUE or NULL , the result is NULL ... and the other is TRUE , the result is TRUE because one TRUE operand is sufficient to make the expression true | |
JPA Named Queries literals dynamically into the query string, which results in more efficient queries. @NamedQuery ... takes a query name and a result type and returns a TypedQuery instance: TypedQuery query = em. createNamedQuery ("Country.findAll", Country.class); List results = query. getResultList | |
jakarta.persistence.criteria.MapJoin The MapJoin interface is the type of the result of joining to a collection over an association or element ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... , returning a new expression object. Unlike Expression.as , this method does result in a runtime type | |
jakarta.persistence.criteria.SetJoin of the result of joining to a collection over an association or element collection ... does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime ... . Unlike Expression.as , this method does result in a runtime type conversion. Providers are required | |
jakarta.persistence.criteria.CollectionJoin interface is the type of the result of joining to a collection over an association or element collection ... . Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... a new expression object. Unlike Expression.as , this method does result in a runtime type | |
jakarta.persistence.criteria.ListJoin of the result of joining to a collection over an association or element collection ... , this method does not cause type conversion: the runtime type is not changed. Warning: may result in ... . Unlike Expression.as , this method does result in a runtime type conversion. Providers | |
jakarta.persistence.criteria.PluralJoin does not cause type conversion: the runtime type is not changed. Warning: may result in a runtime ... Expression.as , this method does result in a runtime type conversion. Providers are required ... FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta | |
jakarta.persistence.criteria.CriteriaQuery: - the type of the defined result Super Interfaces: AbstractQuery , CriteriaSelect ... query results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results | |
jakarta.persistence.criteria.Join. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... , returning a new expression object. Unlike Expression.as , this method does result in a runtime type ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute | |
Numbers in JPQL and Criteria Queries numeric promotion principles. For example, the result of a binary arithmetic operation on an int value ... of a numeric argument. The result is always a positive number or zero. For example: ABS(-5) evaluates to 5 ... arguments and returns an integer value. If both operands have the same type, the result | |
Query Parameters in JPA with different parameter values to retrieve different results . Executing the same query multiple times ... filters the query results to Country objects whose name field is equal to :name . The :name identifier ... has several drawbacks. First, the query is not reusable. Different literal values result in different query | |
jakarta.persistence.criteria.Root. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... , returning a new expression object. Unlike Expression.as , this method does result in a runtime type ... : the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute | |
jakarta.persistence.criteria.From conversion: the runtime type is not changed. Warning: may result in a runtime failure. Inherited from ... , this method does result in a runtime type conversion. Providers are required to support casting ... : attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA | |
jakarta.persistence.criteria.CriteriaBuilder an all expression over the subquery results . Parameters: subquery - subquery Returns: all expression ... any ( Subquery subquery ) Create an any expression over the subquery results . This expression ... to specify a constructor that is applied to the results of the query execution. If the constructor | |
jakarta.persistence.EntityManager must also be flushed before execution of any query whose result set would be affected by unflushed modifications ... ( ConnectionFunction function ) Call the given function and return its result using the database connection ... result Returns: the new query instance. Throws: IllegalArgumentException - if a query has not | |
jakarta.persistence.criteria.Subquery. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... a new expression object. Unlike Expression.as , this method does result in a runtime type ... distinct ) Specify whether duplicate query results are eliminated. A true value will cause duplicates | |
JPA Criteria Query Expressions interfaces is structured as follows: Selection # Base interface for result items └─ Expression # Base ... ;to allow using expression as query results . A boolean expression used to define restrictions in | |
Apache License, Version 2.0, January 2004 resulting from mechanical transformation or translation of a Source form, including but not limited ... , incidental, or consequential damages of any character arising as a result of this License or | |
JPA Entity Fields this case, the employees field is populated with the results of the following query: SELECT e FROM ... results by specifying the key field with the @MapKey annotation: @Entity public class Department | |
Database Transaction Replayer and recording files and attempts to apply all the recorded operations. The resulting database file ... and applies all operations up to transaction 1000, the resulting file is named 1000.odb . | |
JPA Named Queries Annotations instances of the following interface: Represents a named query, including its name, result type, and hints. Retrieve it by result type from EntityManagerFactory.getNamedQueries , and use it to get a TypedQuery instance via EntityManager.createQuery . | |
JPA Queries for queries where the result type is known. It is preferred over the legacy Query interface because it eliminates the need for casting results . Controls the execution of stored procedures (not applicable | |
WHERE clause (JPQL / Criteria API) to the SELECT clause to be collected as query results , the WHERE clause acts as a filter. The boolean ... and collected as query results . WHERE predicate and indexes Formally, the WHERE clause functions as a filter | |
ObjectDB - JPA Object Database for Java and eliminates the ORM layer. The result is better performance and faster applications, especially when the object data model is complex. See JPA benchmark results ... Reduce development time. Improve | |
Eclipse Public License - v 1.0, and if a court requires any other Contributor to pay any damages as a result , the Commercial ... arose. Each party waives its rights to a jury trial in any resulting litigation. | |
jakarta.persistence.TypedQuery Jakarta Persistence (JPA) Interface jakarta.persistence.TypedQuery Type Parameters: - query result ... result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Inherited from Query Returns: position of the first result . Since: Jakarta Persistence (JPA | |
jakarta.persistence.criteria.AbstractQuery: - the type of the result Super Interfaces: CommonAbstractCriteria The AbstractQuery interface defines ... results are eliminated. A true value will cause duplicates to be eliminated. A false value will cause duplicates to be retained. If distinct has not been specified, duplicate results must be retained | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase not cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... Expression.as , this method does result in a runtime type conversion. Providers are required ... Expression otherwise ( R result ) Add an "else" clause to the case expression. Parameters: result | |
jakarta.persistence.criteria.CriteriaBuilder.Case cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... Expression.as , this method does result in a runtime type conversion. Providers are required to support ... for inequality. Since: Jakarta Persistence (JPA) 3.2 Expression otherwise ( R result ) Add | |
ObjectDB License Agreement [ver. 2.0.4] out of, or related to, use of the Software. 6. The Customer may not disclose the results of any | |
Strings in JPQL and Criteria Queries String values can appear in JPQL queries in several forms: As string literals , for example, 'abc' and '' . As parameters when string values are passed as query arguments. As path expressions that navigate to persistent string fields. As the results of predefined JPQL string manipulation functions | |
Date and Time in JPQL and Criteria Queries the results of predefined JPQL functions that return the current date and time. Current date and time | |
Index Definition. ObjectDB also uses indexes for sorting results and for projection: SELECT MIN(p.x) FROM Point p WHERE p.x | |
Auto Generated Values might not be used. Therefore, this strategy can result in gaps in the sequence values.nd The Table | |
JPA Query Structure (JPQL / Criteria) the database. The SELECT clause defines the query results . The query above returns every Country | |
Database Doctor results are written to standard output. Running doctor repair To run the ObjectDB Doctor in repair mode | |
JPA Web App Tutorial - Maven Project, you may download and run the result application as a Maven project: JPA Web App - Maven Project (6KB | |
Step 4: Add a Controller Class)); // Prepare the result view (guest.jsp): return new ModelAndView("guest.jsp", "guestDao", guestDao | |
Java EE JPA Tutorial - Maven Project;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web | |
Step 4: Add a Controller Class"); if (name != null) guestDao.persist(new Guest(name)); // Prepare the result view (guest.jsp): return | |
[ODB1] Chapter 9 - ObjectDB Explorer) is opened with the query results and the size of the result collection and the query execution time ... ). This opens the specified viewer window type and displays the results . On the bottom of the query | |
[ODB1] Chapter 6 - Persistent Objects. Objects stored as a result of persistence by reachability can be embedded. By default, system types ... , sophisticated queries. The results can also be sorted by specified order expressions. Chapter 7 is devoted | |
[ODB1] Chapter 2 - A Quick Tour; An attempt to run the program now results in the following error: Error: Class 'Person' is not |