About addition

manual

Numbers in JPQL and Criteria Queries

Shows how numbers, arithmetic expressions and numeric functions and operators (MOD, ABS) can be used in JPQL queries.... (minus). 4 binary operators:   + (addition), - (subtraction), * (multiplication) and / (division). ... ( Integer. class ) ;   // Addition (+) Expression javax.persistence.criteria.Expression ...

 
manual

ObjectDB 2.6 Developer's Guide

Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a ...

 
api-jdo

allocate(additional)

Provides a hint to the implementation that the application will need additional sequence value objects in short order.(Method of javax.jdo.datastore.Sequence)

 
api-jdo

javax.jdo.datastore.Sequence

Implementations of this interface can be used to obtain sequences.(Interface of JDO)

 
forum_thread

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

Hello Support, in our configuration (FlushModeType.AUTO) is the execution of  em.find(Entity.class, <id>) much faster than an equivalent query. To optimize the Performance we define a special Entity (A) with additional data that use an existing ID of another Entity (B) from another class (another table). On this point we get no conflicts. If we remove additional data for Entity (B) and then the special Entity (A) is empty, we remove the special Entity (A). #1 2017-02-22 06:53 Hello Support, in our configuration (FlushModeType.AUTO) is the execution of  em.find(Entity.class, ...

 
manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... cannot be shared by references from multiple objects. In addition, embedded objects of persistent classes are not included in the ... JDOUserException if the name is already in use. In addition to the naming issue, there is another difference between ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: #1 2011-12-02 09:58 I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book ...

 
page

Eclipse Public License - v 1.0

... time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the ... version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may ...

 
forum_thread

Empty temporary dat files in the temp folder

Hello, We have questions regarding the pagesX.dat files in the temp directory. We detected a problem on a machine with ‘only’ 2GB free memory on disc drive C:/ because during using our Product the %temp%/objectdb_123... folder growth up to 2GB. And then we run into some following errors due to lack of memory. ... mentions high memory usage. Did you mean high RAM usage in addition to these files?     ...

 
tutorial

Step 1: Create a Java EE 6 Web Project

Explains how to create an Eclipse Java EE 6 (J2EE) project with ObjectDB/JPA support. We start by creating a new Java EE 6 dynamic web project in Eclipse: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Web > Dynamic Web Project and click Next . Choose a Project Name ...