About identity

manual

Database Replication and Clustering

Replication enables maintaining up to date version of an ObjectDB database on multiple nodes. ObjectDB supports master-slave replication (cluster). When replication (or clustering) is used, the same database is managed on multiple machines (nodes), possibly in different geographic locations. This could help in achieving high availability, ...

 
forum_thread

Repair broken references in entities

Hello, it is possible to recover an entity that has been removed automatically by CascadeType.Remove. After cascade remove the removed entity will be persisted with the identical primary key. Are all broken references in other entities on this removed/persisted entity repaired again? best regards #1 2015-05-26 15:08 Hello, it is possible to recover an entity that has been removed automatically by CascadeType.Remove. ...

 
api-jdo

Persistent.primaryKey

Whether this member is part of the primary key for application identity.(Annotation Element of javax.jdo.annotations.Persistent)

 
api-jdo

makeTransientAll(pcs)

Make an array of instances transient, removing them from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
issue

probable error in text of manual about embeddable classes

at http://www.objectdb.com/java/jpa/entity/types website in "Embeddable Classes" section there is a phrase "e.g. their instances cannot be shared by different entity objects" which seems to be wrong. ... Embeddable classes, however, do not have an identity (primary key) of their own which leads to some limitations ( e.g. ...

 
api-jdo

getTransactionalObjectId(pc)

Return a copy of the JDO identity associated with the parameter instance.(Method of javax.jdo.spi.StateInterrogation)

 
api-jdo

addFetchGroups(groups)

Add the FetchGroups to the set of active fetch groups.(Method of javax.jdo.PersistenceManagerFactory)

 
api-jdo

makeTransient(pc, useFetchPlan)

Make an instance transient, removing it from management by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
forum_thread

Entity with java.util.Date column gives ClassCastException in BIRT

Copied a straightforward entity class from my coleague. Using Eclipse Kepler (Reporting) and stored it in ObjectDB 2.5.3_02. After creating an ObjectDB BIRT DataSource and a DataSet, entered a simple JPQL query to select the fields. Entity looks like this: ... ( strategy = GenerationType . IDENTITY ) private long id ;   private ...

 
forum_thread

"Unsupported auto value type java.lang.String" when persisting new instance

I don't have a simple test case for this issue, but I'm getting this error: ... ( strategy = GenerationType . IDENTITY ) private String ID ; ...