About change

forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... table add column ... This is automatic - just change your class (see Database Schema Evolution in the manual). ...

 
release

2.2.5

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
release

2.3.0

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
api-jdo

javax.jdo.spi.PersistenceCapable

A class that can be managed by a binary-compatible JDO implementation must implement this interface.(Interface of JDO)

 
release

2.2.8

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
release

2.2.2

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

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. ... that such an exception is possible as a result of schema change, in which id fields are removed. Notice that changing the primary key of ... When you say schema change do you mean changing the code for the entity objects and using it ...

 
release

2.3.3

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
forum_thread

Merge on detached entities

Hello, it is possible to merge detached entities? There are some attached entities which load from the database. The transaction is finished and the entities become detached. In a new transaction the fields of the detached entities will be changed and a merge by em.merge(entity) will be saved the entities. Can this works correctly? How are the rules of the merge process? Do the changed fields of the detached entity overwrite the fields in the database? Also changed fields which are set to null? #1 2017-09-19 09:54 Hello, it is possible to merge detached entities? There are some attached entities which load fro ...

 
api-jpa

refresh(entity, lockMode)

Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type.(Method of javax.persistence.EntityManager)