About in

51-60 of 200Refresh
Forum
11

IN expression in a Criteria Query

is with Criteria Language. This code: In inExpression = cb.in(root.get(Computer ... supported by ObjectDB. They are listed in the issue tracking system, and unfortunately subqueries ... , please provide the complete query string (you should be able to see it in the log, if you enable logging as
Forum
11

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB ... and own OID) in those few peristence-capable ones. Example of JDO metadata:
Manual
11

JPA Query API

Queries are represented in JPA 2 by two interfaces - the old Query interface, which was the only interface available for representing queries in JPA 1, and the new TypedQuery interface that was introduced in JPA 2. The TypedQuery interface extends the Query interface. In JPA 2 the Query interface
Manual
10

Database Management Settings

which are relevant on the server side and in embedded mode. The default configuration file contains the following ... ). The page attribute specifies the size of a page in a database file. The default of 2KB is appropriate ... . sync=false is much faster in writing data to a database, but true might be safer in production. By
Manual
10

Shared (L2) Entity Cache

of this cache makes it useful in applications that use many short term EntityManager instances.  In addition ... The shared (L2) cache is configured in three scopes: Globally in the ObjectDB configuration. Per persistence unit in the persistence.xml file. Per entity class - using annotations. ObjectDB
Manual
10

JPA Lifecycle Events

(added to the EntityManager). @PostPersist - after storing a new entity in the database (during commit or ... - when an entity is identified as modified by the EntityManager. @PostUpdate - after updating an entity in the database (during commit or flush). @PreRemove - when an entity is marked for removal in
Manual
10

CRUD Database Operations with JPA [2011-02-11]

code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i ... ) require an active transaction. In the example above, every Point object is first constructed as ... a managed entity) by the persist method. The new Point objects are physically stored in the database
Manual
10

CRUD Database Operations with JPA

code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i ... ) require an active transaction. In the example above, every Point object is first constructed as ... a managed entity) by the persist method. The new Point objects are physically stored in the database
Forum
10

Accessiblity of attributes in entities in several OSGi-Bundles

. There are three entities in two OSGi-Bundles and we execute importRequirements() in RequirementServiceImpl ... (RequirementImportServiceImpl.java:146) In another use case we have a similiar problem: java.lang.NullPointerException at com ... :117) These exceptions may indicate an attempt to access a new entity object that was persisted in
Forum
10

DB reading fails in debug mode in Eclipse

. Here is the structure (JDO metadata) of 3 classes which I am storing as values in a HashMap of another entity in the DB.