About enhancement

forum_thread

Duplicate a table

Hello, I would like to know if it's possible to copy the content of a table representing one class of object to another table whithout having to use java object (no object instantiation) ? In fact, I would like to execute a native query like "select * into T0 from T1" My purpose is to backup a table before erasing the content. Thanks. #1 2015-11-12 13:57 Hello, I would like to know if it's possible to copy the content of a table representing one class of ...

 
forum_thread

objectdb.conf Information

Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: - Which config entries are relevant for the client and which one for the server? I.e. what about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is client right? activation-code - guess this is required for server only right? #1 2011-11-11 10:15 Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have a ...

 
forum_thread

Type xxx is not found (error 301)

The error: Type User is not found (error 301) occurs when I query the db for a type before any instances of that type have been persisted, e.g.: return em.createQuery ("SELECT a FROM User a").getResultList (); What I was expecting was an empty list, not an error. Is there some enhancement that should be done beforehand?  ... was an empty list, not an error. Is there some enhancement that should be done beforehand?   ...

 
api-jdo

jdoPreDelete()

Called before the instance is deleted.(Method of javax.jdo.listener.DeleteCallback)

 
api-jdo

javax.jdo.listener.LoadCallback

This interface is used to notify instances of load events.(Interface of JDO)

 
api-jdo

javax.jdo.listener.StoreCallback

This interface is used to notify instances of store events.(Interface of JDO)

 
api-jdo

javax.jdo.listener.DeleteCallback

This interface is used to notify instances of delete events.(Interface of JDO)

 
api-jdo

preClear(event)

This method is called before the implementation calls the instance method ClearCallback.jdoPreClear and before it clears the values in the instance to their Java default values.(Method of javax.jdo.listener.ClearLifecycleListener)

 
forum_thread

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In our use case, we create many new entities and between the creations we call a select query. The execution of the query becomes slower at each iteration. (In the query, we search for an item of type Entity2. However, there is only one entity.)   Pseudocode for the fast and the slow solution FAST: #1 2015-03-03 15:07 Hello, we have a performance problem when we use a large transaction. Let's do exactly the same i ...

 
api-jdo

PersistenceCapable.MEDIATE_READ

If jdoFieldFlags for a field includes MEDIATE_READ, then the field has been enhanced to always call the jdoStateManager on all reads.(Static Field of javax.jdo.spi.PersistenceCapable)