About auto

release

2.3.7

... Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). ...

 
manual

[ODB1] Chapter 3 - Persistent Classes

Explains what a persistence capable class is and which types are supported by JDO.... (the "*.class" expression is in quote marks here to avoid auto resolving at the shell level in some environments): > java ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... />   <cascade-persist always="auto" on-persist="false" on-commit="true" />   <dirty-tracking ... />   <cascade-persist always="auto" on-persist="false" on-commit="true" />   <dirty-tracking ...

 
forum_thread

The server cannot start in CentOS

Hi, I try to run ObjectDB from Linux, but failed. My command is: java -cp objectdb.jar com.objectdb.Server start The result is attached. After typing the command, the system seems halting. ... = "0" /> <cascade-persist always = "auto" on-persist = "true" on-commit = "true" /> ...

 
release

2.3.6

... Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). ...

 
forum_thread

find() delay

Hi, I tried objectdb in following steps: 1, for 1 to 30 {trans.begin(); create typeC o; em.persist(o); trans.commit();} 2, for 1 to 30 {p = em.find(typeC.class, i); print(p)} So simple a test, there is no result in one go; I have to disable step 1 and run again, then Step 2 output the expected results. I tried em.flush(), em.clear(), etc.. that do not work. Any idea? TIA ... fields, then is there a conflict between manual and auto relations? Suppose the Employee and the address are all regular classes, I ...

 
release

2.3.4

... Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). ...

 
forum_thread

Should derived fields of an EmbeddedId be manually maintained by app code?

If I have an Entity which has a primary key which is derived and I am implementing it using @EmbeddedId, am I responsible for maintaining the derived fields of the @EmbeddedId? I could not find anything in the JPA 2.0 spec http://download.oracle.com/auth/otn-pub/jcp/persistence-2.0-fr-oth-JSpec/persistence-2_0-final-spec.pdf?e=1317047713&h=54831c176e81a244a4c309e13eba0b27 which tells me what to expect. ... ; q. setFlushMode ( FlushModeType . AUTO ) ; try { long l = ( Long ...

 
release

2.3.5

... Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). ...

 
release

2.7.3_01

... ). Fixed a problem of EntityManager auto closing. Fixed ArrayIndexOutOfBounds on using a no arg ... Added new configuration to enable / disable auto serialization of non persistable types (now disabled by default). ...