About modify

manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context. Entity objects are in-memory instances of entity classes (persistable user defined classes), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA requires using entity objects for many oper ...

 
release

2.4.1

Release date: 2012-06-16 Download (5.4 MB) Binary:  objectdb-2.4.1.zip You should start by following a  tutorial or reading the manual ...

 
manual

[ODB1] Chapter 2 - A Quick Tour

Demonstrates basic database programming using ObjectDB. This chapter introduces basic ObjectDB and JDO concepts, using two sample programs. We start with the HelloWorld sample program, which is not JDO portable because it uses some ObjectDB extensions, but it is a good sample to start with because of its ...

 
forum_thread

multiple LEFT JOINs do not work as expected

Hi, We have a hierarchical data set of organisations in the database, where each organisation stores a reference to it parent organisation. I'm trying to find all organisations 2 levels under a root organisation, e.g. where organisation.parentOrg is the root or organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates and it is built dynamically using Criteria API. It could be looking for other number of levels, 2 is just an example. The test query looks like this: ... model with LEFT JOIN that works. Please try to modify it to demonstrate a different query that doesn't work as expected: ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: Bug Version: 2.3.0 Priority: Normal Status: Fixed Replies: 3 Type:  Bug ...

 
manual

CRUD Database Operations with JPA

Shows how to use Java/JPA to store, retrieve, update & delete.... ( ) ; Operations that modify the content of the database (such as storing new objects) require an ... to obtain a managed entity object (e.g. by retrieval) and modify it within an active transaction: em. getTransaction ...

 
release

2.2.0

Release date: 2011-04-03 Download (3.99 MB) Binary:  objectdb-2.2.0.zip You should start by following a  tutorial or reading the manual ...

 
release

2.4.0

Release date: 2012-05-20 Download (5.4 MB) Binary:  objectdb-2.4.0.zip You should start by following a  tutorial or reading the manual ...

 
manual

Detached Entity Objects

Explains detached entity objects and how to work with detached objects in JPA, including merging them into an EntityManager.... when merge is called because operations that might modify the database require an active transaction. Cascading Merge ...

 
release

2.2.1

Release date: 2011-04-10 Download (5.07 MB) Binary:  objectdb-2.2.1.zip You should start by following a  tutorial or reading the manual ...