About true

forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... //if (j%10000==0) { if ( true ) { em. getTransaction ( ) . commit ... <entities > <enhancement agent = "true" reflection = "warning" /> <cache ref = "weak" ...

 
release

2.5.7

... Fixed NullPointerException when using AND TRUE in WHERE clause (issue #201). Fixed an exception when ... Fixed a bug in applying orphanRemoval=true by default on mapped by (inverse) relationships. Fixed a ...

 
forum_thread

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

Hi, I came across an error - but i have not been able to create a simple reproducible case - the error does not happen often and does not happen always -  Let me explain: 1/ I run 5 java applications at the same time on one machine - each application is using an ODB file (each one is using a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT bk FROM OBN bk ORDER BY bk.time ASC", OBN); ) 2/ after a little while - some of the applications throws this error message: ... ( "objectdb.temp.no-temp-file-purge" , "true" ) ;   // To disable deletion of other processes - ... ( "objectdb.temp.no-temp-file-clean" , "true" ) ; You can try setting these system properties ...

 
api-jdo

javax.jdo.PersistenceManagerFactory

The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances.(Interface of JDO)

 
issue

ClassCastException after upgrade to 2.3.5_03

On upgrading to the latest version of objectdb I get the following exception on object retrieval: ... @ OneToOne ( orphanRemoval = true , cascade = CascadeType . ALL , fetch = ... @ OneToOne ( orphanRemoval = true , cascade = CascadeType . ALL , fetch = ...

 
forum_thread

DB Doctor sets type to "unknown" for new fields

Hi, we are using ObjectDB 2.5.4_04 on Linux. We added two new Boolean fields to a persistable type and run DB Doctor on the exiting DB file in order to update the schema. The fields are added to the schema as expected, however their type is set to unknown - we were expecting Boolean. The attached DB file is what was produced by DB Doctor after adding the emergency and broadcast fields. If you run in DB Explorer ... RecordingMetaData AS r SET r . doNotDelete = true WHERE r . doNotDelete = false   I can also ... RecordingMetaData AS r SET r . doNotDelete = true WHERE r . doNotDelete IS NULL   In ...

 
forum_thread

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit and then doCancelEdit works fine. Second time I doEdit produces the error "Attempt to lock a non entity object" session.rollback() is somehow causing the problem (found through debugging) Is this enough information for someone to suggest what might be happening and how to fix it? ... ( ) . setRestoreValues ( true ) ; The first option may be more efficient. ... ( ) . setRetainValues ( true ) ; em. getTransaction ( ) . begin ...

 
release

2.6.0

... Fixed NullPointerException when using AND TRUE in WHERE clause (issue #201). Fixed an exception when ... Fixed a bug in applying orphanRemoval=true by default on mapped by (inverse) relationships. Fixed a ...

 
forum_thread

What role is the JDO in ObjectDB?

Mike Keith believe the JDO is out of date. Then what role of JDO in ObjectDB? Will our codes with JDO be out of date? <quot ... caused it to be unfairly stigmatized. This was probably true, and if it had been introduced three years later, it might have been ... itself (DataNucleus). However, it is true that JPA is more popular than JDO and it is has some important advantages ...

 
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! ... />   <url-history size="50" user="true" password="true" />   <log path="Logs/" max="8mb" stdout="false" stderr="false" ... always="auto" on-persist="false" on-commit="true" />   <dirty-tracking arrays="false" ...