About flush

forum_thread

SectionClassifier message in log

I'm trying to track down an issue in an application - the problem occurs around the retrieval of an object from a database the specifics are unclear at the moment. In the objectdb log the following message is written everytime the issue occurs. Could you give more detail about what this message means? [2011-11-24 20:43:10 #114098 store] SectionClassifier: SectionClassifier{'4548f06f-405e-4f3e-9b7b-8e27bf4bd91c'->merger[3477129]-missing:1713} ... rbccm.felix.objectdb.messaging.ObjectDbMessagePipe.flush(Unknown Source) at rbccm.felix.objectdb.messaging.ObjectDbMessagePipe.flush(Unknown Source) ... 42 more Caused by: ...

 
api-jdo

makePersistent(pc)

Make the parameter instance persistent in this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
release

2.2.1

... Fixed a bug in queries on deleted objects before commit / flush. Version 2.2.0 Added full support of JPA 2 ...

 
manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... A PersistenceException is thrown on commit (or flush) if different entities have the same value in a unique field (similar to ...

 
forum_thread

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch = FetchType.LAZY) due to them containing quite long Strings and me loading ALL entities of the database on application startup (swing app) This class should hopefully demonstrate the problem: ... ) . commit ( ) ; em. flush ( ) ; em. close ( ) ; ...

 
release

2.2.2

... Fixed a bug in queries on deleted objects before commit / flush. Version 2.2.0 Added full support of JPA 2 ...

 
api-jpa

javax.persistence.OrderColumn

Specifies a column that is used to maintain the persistent order of a list.(Annotation of JPA)

 
issue

[ObjectDB 2.6.7_04] Unexpected exception (Error 990)

Since Version 2.6.7_04 we get the following NullPointerException at Query execution: ... trace indicates an unexpected condition at the end of a flush operation (before executing a query). It doesn't seem related ...

 
forum_thread

On initialisation of lists: impact on migration from EclipseLink to ObjectDB

I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant difference in the initialization of persistent lists, namely that EclipseLink injects a List implementation into the List field to be initialise it during EntityManager.persist(). So in EclipseLink the following works: public class HasListOfBlocks { .. ... ; em. persist ( h ) ; em. flush ( h ) ; //optional Block childBlock = new ...

 
forum_thread

Need help to make this test work and define proper annotations for entities Lists

Hi, I can't get this simple test case to work, i know it is probably due to the lack of proper annotations on entities list, could anyone help me to define them? NB in this test case I didn't set all entities methods for the sake of clarity, also in actual application no field are public nor static and no entity is static.    ... ) . commit ( ) ; em. flush ( ) ; em. close ( ) ; ...