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 ...

 
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)

 
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

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, ...

 
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

Request clarification of changes to accessor enhancement policy (non-getter prefix instead of getter suffix) AND annotations

In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enhancement treats getters and setters (property accessors), namely there are no longer enhanced additional getters/setters, because the additional methods now use (since about version 2-6-5) this pattern: __odbHidden_[accessor_name] Instead of this pattern with a suffix (preserving the method as a setter or getter), prior to version 2-6-5: #1 2016-08-20 13:44 In response to the forum posting http://www.objectdb.com/database/forum/994 changes were made to the way enh ...

 
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 ...

 
manual

JPA Metamodel API

Explains how to use the JPA Metamodel API to retrieve details on the types and attributes of the persistent object model. The JPA Metamodel API provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. ...