Use temporary files to enable very large transactions

We have transactions in which many objects are created. These objects are no longer needed in the current transaction after creation. Unfortunately, we will receive an OutOfMemory exception because the objects are kept in the first level cache of ObjectDB. In the forum thread http://www.objectdb.com/database/forum/921 on post #4 you wrote, that ObjectDB should support very large transactions in further version. Can you implement it that ObjectDB used temporary files? ... the test we only see the files eppdb.odb and eppdb.odb$. Where are the temporary files? The test executed with ... file . The default path is  $temp/ObjectDB , where $temp is the default Java temporary directory ( ...


Weird behaviour with enhanced classes and embedded entities

Hi, I've found some weird behaviour in my project (www.tinymediamanager.org): Sometimes some entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing. Here is a small sscce which reproduces the issue: ... // wait 1ms to simulate a "real" application, where some code comes between adding embeddables ;) Thread. sleep ...


Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... end.  We find this very advantageous in collaboration where local replicated databases are used for performance reasons.   ...


creating EntityManager on odb file created on Mac 64bit on Windows 32bit

Hello, I have an odb file created on my Mac OSX 64bit. When I further, in other program, create an EntityManagerFactory and later EntityManager on this file, every thing is working fine. But, when I transfer this program and odb file to Windows XP 32bit it crashes while creating EntityManager. Do you have any idea why does it crash? Thanks, Marcin  ... expressedpathfinder is my main package in java project where I create and use SMMD.odb.       ...


Activation error on Schema change

Hi, 1) Is @OrderBy annotation supported ? When I add this annotation to my entity I get an error, saying that I did not activate my ObjectDB (which I did) : ... working. Even when objectdb.conf with old license key where copied to new version directory. No schema change, no application ...


problems with OEM license/enhancing

we did add this section to our maven pom.xml (from within Eclipse): ... <build>   <pluginManagement> ... ... as regards the correct location: where to place the objectdb.conf in a maven environment (objectdb is referenced ...


Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). ... Add Java EE 6 API Library. While your here, this is also where I needed to add the objectdb.jar file (from your download). And finally, ...


locks on pure query activities

analyzing the dynamic behavior we can see from the thread dump that a lot of our threads that are just doing simple queries show locks like these (question is: why there are locks and how could we get rid of that):   log1:   ... into more and more situations like the first heap dump where all are waiting to lock com.objectdb.o.LFL   ... we have no again a similar situation where a lot of threads that are just doing a pure select query are waiting for ...



Prints this throwable and its backtrace to the standard error stream.(Method of java.lang.Throwable)


ODB tries to create log files inside its own jar on Win7

I sent a demo of an app I've been developing on Linux to some Windows 7 users, and they were unable to run it.  The stack traces they sent me indicated that ODB was trying to create its log files inside objectdb.jar, which was inside the executable jar packaged by Eclipse.  Here's the end of the stack trace: ... Linux machine and it works fine.  (I didn't check where it creates its log files, but evidently it doesn't try to create them ...