ObjectDB Database Search

151-200 of 200 results

Storing a tree of data (depth=3)

can query the list over all performers. When I'm trying to persist the movie the objectdb complains

Glassfish 3.1.2.1 and ObjectDB 2.4.3

- The requested resource () is not available. I tried it on Glassfish server 3 .1.2 and 3 .1.2.2. Sometimes I ... INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3 .1.2 (build 23) INFO: Grizzly ... ) at org.glassfish.hk2.classmodel.reflect.Parser$ 3 .call(Parser.java:307) at org.glassfish.hk2

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3 .1.1 to 3 .1.2 ... more It seems that there is something wrong with persistent context. it seems that glassfish 3 .1.2 behaves differently. I tested another project which uses eclipseLink and java DB. it works well. glassfish 3 .1.1 logins

Query Method NullPointerException on List iteration

) ~[spring-data-jpa-2. 3 .0.RELEASE.jar:2. 3 .0.RELEASE] at org.springframework.data.jpa.repository. query ... ) ~[spring-data-jpa-2. 3 .0.RELEASE.jar:2. 3 .0.RELEASE] at org.springframework.data.jpa.repository. query ... Hello, i'm new to ObjectDB and want to create a query which sums up the product categories

ObjectDB 2.3.2

Fixed a bug in "p.id IN :ids" queries . Fixed a bug in handling NOT =   queries ( issue #536 ). Fixed ClassCastException and NullPointerException in using a composite index in queries ( issue #531 ). Fixed Explorer bugs: editing embedded objects and using connection urls. Fixed

ObjectDB 2.5.3

Added support for casting from boolean to int in queries . Changed default value of . Fixed a critical Explorer bug that interferes with queries on enum fields. Fixed a multithreading conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria queries .

ObjectDB 2.3.4

url. Fixed performance issue ( fetch optimization ) in range queries . Fixed cached result size evaluation to include query arguments ( issue #578 ). Fixed a bug in using IS NULL in queries on new

ObjectDB 2.3.6

Improved performance of collection and map size evaluation in queries . Fixed a critical bug in page caching (issues #610 , #621 , #625 ). Fixed a bug in optimization of non ASCII string indexes. Fixed the new query HOUR function to return hours as 0 to 23 (using 24-hour clock). Fixed a regression

ObjectDB 2.2.3

Added support of @ElementCollection  (for setting eager fetch of non entity collections, such as List ). Improved performance of eager fetch in queries . Added Maven build enhancement ... evolution (regression of 2.2.0). Fixed a bug in queries on large objects . Fixed a bug in using persistent properties with incomplete enhancement.

ObjectDB 2.3.1

a ClassCastException in using a composite index in queries ( issue #521 ). Fixed handling derived Id

ObjectDB 2.9.3

Fixed unstable  activation issues. Fixed  issue #2954  - using IS NULL (or == null) on parameters in queries . Fixed automatic schema update on renaming or moving an enum type. Fixed issue #2964  (critical) - concurrent update of large objects with version-check=false.

ObjectDB 2.7.3

Fixed a bug in query execution optimization ( issue #2170 ). Fixed cascading delete through unloaded (lazy) relationships. Fixed a NullPointerException when using "objectdb.temp.page-file" ( issue #2163 ) Added logging and suspend exception for  issue #2153 . Fixed a bug in using SIZE with

ObjectDB 2.6.3

Added an option to disable some query execution optimizations. Added an option to exclude persistence aware enhancement ( feature request #1683 ). Added an option to use temporary files for very large transactions ( feature request #1658 ). Fixed an online backup bug (no access during backup

ObjectDB 2.8.3

with embeddable elements are detached. Improved handling query results that include managed hollow

What are the main benefits of using ObjectDB?

processes JPQL (JPA Query Language) and JDOQL (JDO Query Language) queries directly, where ORM tools first convert these queries to SQL and then transition the SQL to the DBMS for execution through a JDBC

JPA Shared (L2) Entity Cache

several server-side caches: Cache of database file pages . Cache of query programs . Cache of query execution ... for a specific retrieval operation: // Before executing a query : query . setHint ("jakarta.persistence.cache

jakarta.persistence.EntityResult

by the SQL query . Default: LockModeType.OPTIMISTIC Since: Jakarta Persistence (JPA) 3 .2 FieldResult ... the SELECT clause of a SQL query to an entity result. If this annotation is used, the SQL statement ... . Example: Query q = em.createNativeQuery( "SELECT o.id, o.quantity, o.item, " + "i.id, i.name, i

jakarta.persistence.TypedQueryReference

: - an upper bound on the result type of the query A reference to a named query declared via the NamedQuery ... ) Since: Jakarta Persistence (JPA) 3 .2 Public Instance Methods Map getHints () A map keyed by hint name ... .0 String getName () The name of the query . Since: Jakarta Persistence (JPA) 1.0 Class getResultType

JPA Class Enhancer

explained in Chapter 3 ). Special code is added to enhanced classes that automatically notifies ObjectDB ... lists the classes that have been enhanced: [ObjectDB 2.9.4] 3 persistable types have been enhanced

jakarta.persistence.criteria.CriteriaSelect

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.CriteriaSelect Type Parameters: - the type returned by the query Abstracts over top-level queries and unions and intersections of top-level queries . 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

JPA Metamodel and Graphs

, and their attributes to build dynamic queries and validate persistence structures. The Metamodel Access ... and further explanation, refer to the JPA Metamodel API section in the ObjectDB manual. Criteria query ... objects that can be bound to a Path in a Criteria query , mainly to define FROM variables

Deleting JPA Entities

the database. DELETE Queries DELETE queries provide an alternative way to remove entities from the database. They are especially useful for deleting many entities in a single operation. For more information, see DELETE Queries in JPA/JPQL .

Posting Sample Code

; em.getTransaction().commit();         Query query = em.createQuery("SELECT e FROM MyEntity e");         List resultList = query

Comparison in JPQL and Criteria API

Most JPQL queries use at least one comparison operator in their WHERE clause. Comparison operators ... (the JDO Query Language). ObjectDB supports both forms. In addition to the different notation ... these examples, :min and :max are query parameters : x BETWEEN :min AND :max x = :min AND x ) Predicate gt1 = cb

JPA Optimistic and Pessimistic Locking

query . Releasing a Pessimistic Lock Pessimistic locks are automatically released at the end ... mode can also be set for a query to lock all the query result objects. When a retrieval operation

JPA Primary Key

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 ... primary key can significantly improve query performance: @Entity public class Event { @EmbeddedId EventId

jakarta.persistence.PersistenceConfiguration

) Since: Jakarta Persistence (JPA) 3 .2 Public Static Fields CACHE_MODE String specifying a SharedCacheMode ... Default pessimistic lock timeout hint. Since: Jakarta Persistence (JPA) 1.0 QUERY _TIMEOUT Default query timeout hint. Since: Jakarta Persistence (JPA) 1.0 SCHEMAGEN_CREATE_SCRIPT_SOURCE An application

jakarta.persistence.TypedQuery.getSingleResultOrNull()

() Execute a SELECT query that returns a single untyped result. Returns: the result, of type X , or null if there is no result. Throws: IllegalStateException - if called for a Jakarta Persistence query ... - if the query execution exceeds the query timeout value set and only the statement is rolled

jakarta.persistence.criteria.CriteriaBuilder.except(CriteriaSelect,CriteriaSelect)

except (    CriteriaSelect left ,    CriteriaSelect right ) Create a query by (setwise) subtraction of the second query from the first query . Returns: a new criteria query which returns the result of subtracting the results of the second query from the results of the first query . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.criteria.CriteriaBuilder.exceptAll(CriteriaSelect,CriteriaSelect)

query from the results of the first query . Since: Jakarta Persistence (JPA) 3 .2 ... exceptAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query by (setwise) subtraction of the second query from the first query , without elimination of duplicate

jakarta.persistence.EntityManagerFactory.getNamedQueries(Class)

meaning all queries Returns: a map keyed by query name. Since: Jakarta Persistence (JPA) 3 .2 ... (    Class resultType ) Type Parameters: - the specified upper bound on the query result types A map keyed by query name , containing references to every named query whose result type

jakarta.persistence.EntityManager.createQuery(CriteriaSelect)

query , which may be a union or intersection of top-level queries . Parameters: selectQuery - a criteria query object Returns: the new query instance. Throws: IllegalArgumentException - if the criteria query is found to be invalid. Since: Jakarta Persistence (JPA) 3 .2

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 ... as a template for a query or find operation, allowing you to override the default fetch strategies

JPA Connections and Transactions

the EntityManager . An EntityManager instance also functions as a factory for Query instances, which are used to execute database queries . Every JPA implementation provides classes that implement

BIRT/ODA ObjectDB Driver

The ObjectDB BIRT/ODA driver is an extension for the open-source Business Intelligence and Reporting Tools (BIRT). It adds support for ObjectDB as a data source and JPQL as a data set query language ... ) and click Next . Enter a JPQL or a JDOQL query and click Finish . See the Report Generation with BIRT and JPA tutorial for more detailed instructions.

JPA Annotations

behavior. Declare static, reusable JPQL queries directly on the entity class. Optimize data retrieval by ... . Annotations for defining Native SQL queries and result set mappings.

ObjectDB Overview

all the standard database management services (storage and retrieval, transactions, lock management, query ... . Advanced querying and indexing capabilities. Effective in heavy loaded multi-user environments

jakarta.persistence.criteria.CriteriaBuilder.union(CriteriaSelect,CriteriaSelect)

union (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the union of the given queries . Returns: a new criteria query which returns the union of the results of the given queries . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.criteria.CriteriaBuilder.unionAll(CriteriaSelect,CriteriaSelect)

unionAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the union of the given queries , without elimination of duplicate results. Returns: a new criteria query which returns the union of the results of the given queries . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.criteria.CriteriaBuilder.intersect(CriteriaSelect,CriteriaSelect)

intersect (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the intersection of the given queries . Returns: a new criteria query which returns the intersection of the results of the given queries . Since: Jakarta Persistence (JPA) 3 .2

jakarta.persistence.criteria.CriteriaBuilder.intersectAll(CriteriaSelect,CriteriaSelect)

intersectAll (    CriteriaSelect left ,    CriteriaSelect right ) Create a query which is the intersection of the given queries , without elimination of duplicate results. Returns: a new criteria query which returns the intersection of the results of the given queries . Since: Jakarta Persistence (JPA) 3 .2

queries under 2.7.6_4 significantly slower than under 2.7.6

indicating deep query plan checks and an overall significant performance loss in all queries ... 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

jakarta.persistence.Graph

to EntityGraph and Subgraph . See Also: EntityGraph Subgraph Since: Jakarta Persistence (JPA) 3 .2 Public ... is not an attribute of this entity.. Since: Jakarta Persistence (JPA) 3 .2 AttributeNode ... Persistence (JPA) 3 .2 void addAttributeNodes ( String... attributeName ) Add one or more attribute

jakarta.persistence.criteria.Nulls

Specifies the precedence of null values within query result sets. See Also: CriteriaBuilder.asc(Expression, Nulls) CriteriaBuilder.desc(Expression, Nulls) Since: Jakarta Persistence (JPA) 3 .2 Enum

jakarta.persistence.criteria.Order

Jakarta Persistence (JPA) Interface jakarta.persistence.criteria.Order An object that defines an ordering over the query results. Since: Jakarta Persistence (JPA) 2.0 The ORDER BY clause (JPQL ... : the precedence of null values . Since: Jakarta Persistence (JPA) 3 .2 boolean isAscending

Step 4: Create an ObjectDB Data Set

Queries against the database are represented in BIRT as data sets. To create the data set: Open ... this tutorial contains Point entities. We will use a simple JPQL query that retrieves points with x value in ... and paste to enter the above query and click Finish . When the data set is created successfully

JPA Tutorials

, such as GlassFish 3 .0.1 or JBoss AS 6. Another tutorial shows how to use JPA in a Spring MVC Framework 3 web application: Spring MVC and JPA Maven Projects for Download The tutorials provide step

NetBeans/JPA Java EE Tutorial

and menus might look slightly different but the code would be the same). Note: ObjectDB 2. 3 .7_04 or later is required if Glassfish 3 .1.2 (or later) is used. The Tutorial Steps This tutorial consists of the following steps:

[ODB1] Chapter 8 - ObjectDB Server

his or her private database files (as demonstrated in section 8. 3 ). The element The element ... to do the same operation in subdirectories of that directory. 8. 3   Multi User Server