About number

forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... and it seems that objects are not evicted, the number of managed objects after evict is the same like before evictAll() mth ...

 
forum_thread

ObjectDB within a resource adapter module and Java EE Connector Architecture

Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java EE Connector Architecture so that it may be packaged separately from (but used by components of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? ... Not particularly nice but should work if the number of databases is small. Maybe we can extend the way that ObjectDB ...

 
forum_thread

Problem with bidirectional link

(I had raised this issue in the past and have finally had time to come back to it and strip down the classes to a minimum). The problem seems to lie in having bidirectional links (viz, I have @OneToMany Map<String, Entry> children and @ManyToOne Entry parent in my classes. I've attached the offending classes. If I add an entry to the children I get an error. I'm wondering if it's a question of multiple references to the same instance of a class? It's hard to tell with the opaque code of ObjectDB. ... 2.4.0_01 Same traceback as above, but with newer version number in the message. edit ...

 
issue

Page cache File handling produced an java.io.IOException: Negative seek offset

we get following exception when we execute a find() in a scenario, we can not readjust with an example.   Before the exception throws we get two outputs on std error: pos = -8192 length = 8192   The Exception: Bug Version: Priority: Critical Status: Fixed Replies: 9 Type:  Bug ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) ... disappears with a new database - so that worries me on a number of fronts: a) why is there a jpa error? b) what happens to a production ...

 
release

2.6.4

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
issue

Database File Encryption

ObjectDB supports encryption of client-server communication over the network using SSL. Encryption of data in database files is less commonly used, since it slows the database, and when necessary, external encryption is possible (e.g. at the operating system level). Still, this might be useful for some applications. Feature Request Version: 1.04 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
release

2.6.3

... Improved processing of queries with a large number of variables ( issue #114 ). Improved toString of ... Fixed a critical bug in handling a very large number of entity classes ( issue #139 ). Fixed ...

 
forum_thread

Connection performace after upgrade to objectdb 2

Hi, I have a problem with objectdb 2 when I tried to get the PersistenceManagerFactory and PersistenceManager : In objectdb 1 : PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(getProperties(physicalPath, objectName), JDOHelper.class.getClassLoader()); takes only 3ms PersistenceManager pm = pmf.getPersistenceManager(); takes 40ms However, with objectdb 2, the same instructions take respectively : 257ms and 238ms which is very expensive. ... and PersistenceManager as many as the number odb files I need to load. For example, in the previous version, ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... how you use ObjectDB, i.e. client-server or embedded mode, number of databases, hardware, operating system, JVM, ObjectDB build number, etc? Do you have recovery enabled? Is there a chance ...