About clear

forum_thread

IMK Stall with certain query

Hello, I am experiencing constant IMK Stall notifications from Java when using certain query: 2015-09-01 16:53:15.785 java[3678:5217999] IMK Stall detected, *please Report* your user scenario in <rdar://problem/16792073> - (imkxpc_deadKeyStateWithReply:) block performed very slowly (4.63 secs) i am sure it is linked with objectdb as these are thrown each time one particular query is used: ... thank you for the documentation on this topic, concise and clear as usual. Thank you support ...

 
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 { .. #1 2011-06-01 18:39 I would like to draw the attention of those assessing migration from EclipseLink ORM to ObjectDB to a significant ...

 
forum_thread

multi thread application, id field sporadically null

We are testing objectDB with a multi thread application. Each thread has it's own entityManager created from a common factory. In one thread we receive sometimes an object from the database with the field that is declared as @Id having the value null (what is not correct, we checked that with the explorer). The class is declared like this: ... ... we managed to overcome the problem by using flush(), clear() and refresh()  edit ...

 
forum_thread

Failed to generate dynamic type

Hi  I was trying to enhance some of my classes and I got an error :  Failed to generate dynamic type com.package.RootContainer (error 361) It seems that all dependent classes are on the classpath , so what is missing or how to recognize what is wrong with that class ?? thanks in advance b ... thread for every topic and use the issue tracking for clear ObjectDB bugs. Regarding logging - the ordinary ObjectDB log file ...

 
forum_thread

BIRT plugin: Trouble with Client/Server connection

I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect to points.odb with the explorer.  I added a "Data Source" that works fine with local file.  The connection using the url fails the ping test.  I get (Failed to connect to server localhost:6136) The following is my setup: Dev Versions:     MyEclipse Enterprise Workbench - 12.0.0.me201311281640         -Eclipse platform - 4.3.1.v20130911 #1 2014-11-20 19:56 I am having trouble setting up the birt points.odb sample with a client/server connection. I can connect ...

 
forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... getElectronicAddresses ( ) . clear ( ) ; originalOrganisation. ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? #1 2011-05-14 21:23 1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Enti ...

 
forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... entity object to merge should throw an exception with a clear error message. Unfortunately the fix in build 2.5.5_02 is broken. ...

 
forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... instances are loaded again from the database (you can use clear or refresh to enforce update). ObjectDB Support ...

 
forum_thread

exceeds evaluation limit Exception

Hi ,every body i have this exception , and i didn't know what is mean or from "Exception in thread "main" [ObjectDB 2.0.5_02] javax.persistence.PersistenceException Too many persistable types (>10) - exceeds evaluation limit (error 1011) at com.objectdb.jpa.EMImpl.persist(EMImpl.java:357) at DBManager.insertPatient(DBManager.java:29) at Main.main(Main.java:374)" does any body face this exception before Thanks in Advance     ... thanks alot your replay makes every thing clear now edit ...