ObjectDB Database Search
101-150 of 200 resultsHelp: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query The criteria query AND/OR fix in 2 . 2 .8_04 caused this new problem. Please try build 2 . 2 .8_05 ... Hi, AFter the upgrade from 2 . 2 .8_02 (not sure if it was build 03/04 as I skipped 03) - my LIKE queries have stopped working during a regression test. As an example output: Query : SELECT $1 | |
version 2.8.9_06 significantly slower for queries compared to 2.8.9.objectdb.com/forum/2845 for queries we are using hgzpincher Hans-Georg Zwicker Version 2 .8.9_01 ... in version 2 .8.9_02 but maybe there is another relevant query performance regression that has not been fixed. Changes in versions 2 .8.9_03 - 2 .8.9_06 are not expected to affect queries . An attempt | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x seconds in object db 2 .x I have build the query using the follwoing Query query = persistanceManager ... , so it should be possible to get at least similar performance for this query with ObjectDB 2 .x. Maybe ... 2 .x But still no improvement :-( Please try at ur side by running the query which i | |
ObjectDB internal error on 2.6.4.b10 for query with DISTINCT I observed that on new ObjectDb v. 2 .6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $ 2 JOIN $ 2 .values $1 WHERE ($ 2 .namespace == 'com.anritsu.pa3.ttcn3' AND $ 2 .key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2 .6.1.b06 | |
jakarta.persistence.QueryTimeoutException.query Jakarta Persistence (JPA) Field in jakarta.persistence.QueryTimeoutException query Since: Jakarta Persistence (JPA) 1.0 | |
JPA Extended API Reference Guide Jakarta Persistence API (JPA) 3. 2 documentation, generated from the official JavaDoc and enriched ... , query facilities, metamodel details, configuration options, annotations, and exception information ... the fundamental classes and interfaces for entity management and persistence operations. Covers the query API | |
GROUP BY and HAVING clauses The GROUP BY clause groups query results. A JPQL query with a GROUP BY clause returns properties of the resulting groups instead of individual objects and fields. In the query execution order ... . When a query includes a GROUP BY clause, the database objects (or tuples) that result from the FROM clause | |
jakarta.persistence.criteria.Subquery (JPA) 3. 2 Root from ( Class entityClass ) Create and add a query root corresponding to the given ... more restriction predicates Returns: the modified query . Since: Jakarta Persistence (JPA) 3. 2 Predicate in ... : restrictions - a list of zero or more restriction predicates Returns: the modified query . Since: Jakarta Persistence (JPA) 3. 2 | |
JPA Persistable Types are represented in queries by entity names . By default, the entity name is the unqualified name ... entities, and they cannot be queried directly). Therefore, the decision to declare a class as an entity or ... and retrieval). Simplifies queries on dates and date ranges. When an entity is stored, its date | |
Comparison in JPQL and Criteria API Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison operators ... /SQL Set 2 : Java/JDO Less Than Less Than or Equal To = Equal To = == Not Equal To != The main ... (the JDO Query Language). ObjectDB supports both forms. In addition to the different notation | |
JPA Primary Key ( long ). The primary key of the first entity is 1, the second is 2 , and so on. Primary key values ... entities efficiently in the database. This technique is especially useful for queries that return large ... , sensor ID, and other details. Suppose that queries to retrieve all events from a specific sensor in | |
Database Explorer it to view data, execute JPQL and JDOQL queries , and edit database content. Running the Explorer ... (entity and embeddable classes) in the database and their persistent fields and indexes. The Query window lets you run JPQL and JDOQL queries , as discussed later. Closing a database connection To close | |
jakarta.persistence.criteria.AbstractQuery own joins). All queries may have: a conjunction of restrictions. Since: Jakarta Persistence (JPA) 2 .0 ... Persistence (JPA) 3. 2 boolean isDistinct () Return whether duplicate query results must be eliminated or ... removed. Parameters: restrictions - a list of zero or more restriction predicates Returns: the modified query . Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.EntityManagerFactory, may be obtained by calling getCache , the CriteriaBuilder , used to define criteria queries , may be obtained by ... graph entityGraph - entity graph Since: Jakarta Persistence (JPA) 2 .1 void addNamedQuery ( String name , Query query ) Define the query , typed query , or stored procedure query as a named query | |
JPA Persistence Unit (PersistenceConfiguration) Starting with JPA 3. 2 , it is no longer mandatory to use a persistence.xml   ... that use annotations to define generators and named queries . Otherwise, these generators and named queries are available only after their containing classes become known to ObjectDB—for example, when the first instance of a class is stored in the database. | |
ObjectDB Overview all the standard database management services (storage and retrieval, transactions, lock management, query ... - managed only by standard Java APIs (JPA / JDO 2 ). Extremely fast - faster than any other JPA / JDO ... . Advanced querying and indexing capabilities. Effective in heavy loaded multi-user environments | |
WHERE clause (JPQL / Criteria API) for retrieving a specific subset of objects from the database. How a WHERE clause works The following query ... FROM Country c WHERE c.population :p The FROM clause of this query defines an iteration ... to the SELECT clause to be collected as query results, the WHERE clause acts as a filter. The boolean | |
ORDER BY clause (JPQL / Criteria API) The ORDER BY clause specifies the order for the query results. Any JPQL query that does not ... expressions The following query returns the names of countries with a population of at least one million ... If a query includes an ORDER BY clause, it is the last clause to be executed. The FROM clause first | |
JPA Runtime Tuning & Configuration dynamic options that control runtime behavior and allow you to adjust settings per session, query , or ... every operation in that session. Query (definition): Settings applied to a Query object override session defaults for that query . Operation (argument): Settings passed to specific EntityManager operations ( find | |
Paths and Types in JPQL and Criteria API numbers, booleans, strings, and dates. Values of simple types are more useful in queries ... private, which is usually the case. Navigation through a NULL value The following query retrieves country ... variables) is skipped. To better understand how this works, consider the equivalent JOIN query | |
JPA Core Types and inheritance relationships. Jakarta Persistence (JPA) 3. 2 Core Types Bootstrapping and Configuration ... ) and close it upon shutdown. The primary interface for performing CRUD operations, building queries | |
queries under 2.7.6_4 significantly slower than under 2.7.6 since version 2 .7.6 that could possibly effect query execution. Could you please explain or post some of these logs that show deep query plan checks (and are new in 2 .7.6_04)? In addition ... 200 seconds and reports in query plan: Query plan 1/ 2 description | |
jakarta.persistence.NamedNativeQuery . Since: Jakarta Persistence (JPA) 3. 2 QueryHint[] hints () Query properties and hints. (May include vendor ... Interfaces: Annotation Target: Type Declares a named native SQL query and, optionally, the mapping of the result of the native SQL query . Query names are scoped to the persistence unit. A named query | |
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 being updated. Parameters: entityClass - the entity class Returns: query root corresponding to the given entity | |
JPA Entity Fields an automatic query when the entity is retrieved. Note : Navigation through inverse fields is much less efficient than navigation through ordinary persistent fields because it requires running queries ... the following query , where :d represents the Department entity: SELECT e FROM Employee e WHERE e.department | |
jakarta.persistence.NamedQuery: Annotation Target: Type Declares a named query written in the Jakarta Persistence query language. Query names are scoped to the persistence unit. A named query may be executed by calling EntityManager.createNamedQuery . The following is an example of the definition of a named query written in | |
queries more than 10 times slower using 2.8.1 versus 2.7.6. It seems that running your query on your sample database with version 2 .8.1 is slower ... = 'TECHNOLOGY')" 2 .7.6, 3 seconds 2 .8.1, 16 seconds query 2 : "select distinct o from ObjectNode o ... - we restarted to try to use 2 .8.1 instead of 2 .7.6 - we did a doctor on the database | |
Index Definition Querying without indexes requires sequential iteration over entities in the database. If many ... this full iteration, allowing complex queries over millions of objects to execute quickly ... lastName; Address address; : } Indexes in queries ObjectDB manages a B-tree for every index. A B-tree | |
ObjectDB internal error on 2.6.5 for some query which worked on 2.6.4 Following query caused NULL pointer exception. Also this query worked fine on ObjectDb 2 .6.4b6 ... customers. 2 . Attached screenshot + database exampe Harman Alexander Golyshkin Thank you for this report. It seems to be related to the previous regression issue that you found. Build 2 .6.5_01 should fix it. support Support | |
jakarta.persistence.criteria.ParameterExpression , TupleElement Type of criteria query parameter expressions. Since: Jakarta Persistence (JPA) 2 .0 Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test | |
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 ... - the entity class Returns: query root corresponding to the given entity. Since: Jakarta Persistence | |
Online Backup You can start an online backup by executing a special query on an EntityManager ( em ) instance ... ").getSingleResult(); The backup query string is always "objectdb backup" . The backup is created in the backup ... a custom backup root directory by setting the target parameter before you execute the backup query | |
JPA Exceptions locking wait times. Query exceptions Exceptions specific to query execution and result retrieval: Thrown by Query .getSingleResult() when the query returns no results. Thrown by Query .getSingleResult() when the query returns more than one result. Thrown when a query exceeds the specified timeout limit | |
jakarta.persistence.criteria.PluralJoin query construction. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection alias ... Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.QueryTimeoutException the persistence provider when a query times out and only the statement is rolled back. The current transaction, if one is active, will be not be marked for rollback. Since: Jakarta Persistence (JPA) 2 ... (JPA) 1.0 QueryTimeoutException ( Query query ) Constructs a new QueryTimeoutException exception | |
jakarta.persistence.criteria.MapJoin collection that has been specified as a java.util.Map . Since: Jakarta Persistence (JPA) 2 .0 Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Expression entry () Create an expression ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.criteria.SetJoin that has been specified as a java.util.Set . Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test ... to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.criteria.CollectionJoin that has been specified as a java.util.Collection . Since: Jakarta Persistence (JPA) 2 .0 Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test | |
jakarta.persistence.criteria.ListJoin that has been specified as a java.util.List . Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test ... - expression to be tested against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 | |
jakarta.persistence.criteria.Join Persistence (JPA) 2 .0 The FROM clause (JPQL / Criteria API) article explains how to use Join . Public ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value ) Create ... . Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Object value ) Create a predicate to test | |
jakarta.persistence.criteria.Root , TupleElement A root type in the from clause. Query roots always reference entities. Since: Jakarta Persistence (JPA) 2 .0 The FROM clause (JPQL / Criteria API) article explains how to use Root ... of the given basic type. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo ( Expression value | |
Is ObjectDB a NoSQL Database? of NoSQL technology, which are weak query capabilities and lack of ACID (atomicity, consistency, isolation, durability). Unlike other NoSQL solutions, ObjectDB provides full support of rich complex queries , using two standard Java query languages: JPQL (Java Persistence Query Language) and JDOQL (JDO | |
2.9.x query issue with @Unique constraint Query doesn't return results in versions 2 .9.x when there's a unique property in (where/and .. or ... for :userName parameter 2 .8.9 Query plan description ============================ [Step 1] Scan type ... =:userName)). [Step 4] Apply selection and prepare final results. 2 .9.x Query plan description | |
New issues with queries using build 2.7.6_08 Unfortunately Build 2 .7.6_08 caused exceptions in a lot of system tests of our test suite which still ran successfully with Build 2 .7.6_07. 1. For example following query returns 3 verdict objects ... which has an executionConfig with uid = '23A' the query engine ignores this condition and select all records. SELECT DISTINCT | |
JPA Query Criteria API (JPA 2.0) a factory. ObjectDB supports dynamic definition of JPQL queries as strings. Support of the new JPA 2 ... Query API was just added to ObjectDB in version 2 .1.1_01. It will be officially supported ... ObjectDB version 2 . 2 .0 was just released with full support of the JPA Criteria Query API , including | |
New issues with queries using build 2.7.8 Hello, we found another query bug: SELECT a FROM ArtifactImpl a LEFT OUTER JOIN a.tcSignal s WHERE a.startStep.stepNumber = 0 AND (s.name IN ('In1') OR a.tcSignal IS NULL) With 2 .7.6_b6 we get the expected three result objects. But with 2 .8.0 we get only two result objects | |
jakarta.persistence.criteria.From to the type. Since: Jakarta Persistence (JPA) 2 .0 Public Instance Methods Selection alias ( String name ... ) 3. 2 Predicate equalTo ( Expression value ) Create a predicate to test whether the expression ... against Returns: predicate testing for equality. Since: Jakarta Persistence (JPA) 3. 2 Predicate equalTo | |
[ODB1] Chapter 1 - About ObjectDB. It has a small footprint, high performance, and a flexible architecture (1-Tier, 2 -Tier or N-Tier). 1 ... of objects per second. Even queries on millions of objects are very fast, when proper indexes are defined ... with every ObjectDB product, is a sophisticated tool that enables browsing, querying , editing and the construction | |
ObjectDB 1.0 Manual - About ObjectDB Describes ObjectDB's main features and editions. Chapter 2 - A Quick Tour Demonstrates ... and delete database objects. Chapter 7 - JDOQL Queries Describes JDOQL, the JDO Query Language. The last | |
[ODB1] Chapter 5 - JDO Connections. 2 javax.jdo.PersistenceManager The javax.jdo.PersistenceManager interface represents ... retries (about 2 seconds) a JDOUserException (a subclass of JDOException ) is thrown. These constants ... Indicates whether or not database operations that do not modify the database content ( queries , object |