About callback

forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... to use weak references but then using persistent object callback/listeners to track all objects in a manual strong reference list and ...

 
issue

Blocked by find

I have a container object which wraps an objectdb database. There is a "putIfAbsent(String id, Object obj)" method which is synchronized and attempts to load an object by id using the EntityManager "find" method. If nothing is returned from the db the passed object is persisted to the db. I have 5 threads which use this method. In a run today one of the threads seems to have got stuck somewhere in the find. The thread dump looks like: ... ERROR Workflow2Runner - Error sending callback event rbccm.felix.framework.ApplicationException: Error flushing data ...

 
forum_thread

newbie - lots of exeptions

Hi  I'm very new to objectdb . I have bought a server and really want to use it. Our code works well with eclipselink and postgresql - until we stress it which is why I'm trying to get objected to work.   realy wierd things are going on ... we are using hessian to connect our remote clients to glass fish and invoke methods there (fine with postgresql) . here is our log (part of it at least .... exceptions are happening all the time when we're working with objected). ... WARNING: DTX5015: Caught exception in afterCompletion() callback: [ObjectDB 2.4.4_06] javax.persistence.PersistenceException Failed to ...

 
issue

com.objectdb.o.InternalException: null

After an error in a @PrePersist method in an Entity class, the database stopped working. Fortunately this was in development, but still worrying! The Entity class ... should not be corrupted because of an exception in a callback method. An exception in a PrePersist method marks the transaction ...

 
release

2.7.2

... Fixed a recursive @PreUpdate call bug (when the callback updates the entity). Version 2.2.8 Fixed a ...