About files

forum_thread

Connections pool

Hi! Does ObjectDB keeps and reuses a pool of connections as MySQL JDBC driver does?   #1 2013-10-28 17:28 Hi! Does ObjectDB keeps and reuses a pool of connections as MySQL JDBC driver does? I mean when it's ...

 
forum_thread

Enhancement API - NullPointerException

Hi! I am trying to use the Enhancement API from within my application like this: com.objectdb.Enhancer.enhance("my.package.Foo"); However, I get the following NullPointerException: ...  is only supported for classes in separate class files rather in jar files. If this is the case, a better error message should be shown of ...

 
release

2.6.5

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...

 
forum_thread

ObjectDB stability after power failure

I'm considering using ObjectDB in a system that is going to be running continuously without support instantly available for many years.  How stable is ObjectDB when it comes to power failures and unattended restarts?  Is database integrity maintained during such events?  I have seen database vendors perform 'kick the plug out' demonstrations of how their product will survive power failures.  Is ObjectDB suitably robust that it won't fail in such situations?    #1 2014-05-21 00:39 I'm considering using ObjectDB in a system that is going to be running continuously without support instantly ...

 
forum_thread

Low performance when getting grove roots

Hi, I have a grove-like structure of objects, every objects referencing its parent. Root objects have null as the value of this parent reference. To find the roots I execute a query. If the number of objects in the tree is significant, this query takes almost forever, it seems ObjectDB loads all objects on the DB to test their parent field value. Id there a way to force ObjectDB to create an index for this field? Regards, Vladimir #1 2013-03-28 10:11 Hi, I have a grove-like structure of objects, every objects referencing its parent. Root objects have nul ...

 
forum_thread

Again about $temp from objectdb.conf

I am using the 2.4.5 distribution and I'd like to set up $temp to another folder than the system uses. In my web application I use a servlet to configure some values: public void init(ServletConfig config) throws ServletException {   super.init(config);   System.setProperty("objectdb.home",config.getInitParameter("OBJECT_DB_HOME")); // sets $objectdb   System.setProperty("objectdb.conf", config.getInitParameter("OBJECT_DB_CONFIG")); } #1 2012-12-26 18:54 I am using the 2.4.5 distribution and I'd like to set up $temp to another folder than the system uses. In my ...

 
release

2.6.6

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...

 
forum_thread

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program and get a new EntityManager, the instance behaves as if the data that was persisting is somehow gone. I noticed in the file system, indeed, the .odb file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a version number. Is there any way to recover <name>.odb? ... file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a ... tries to restore the database file from the odr files (which represent transactions). You can also restore the database ...

 
issue

EOFException

Not sure if you'll be able to help with this but I've had an application get into a state where it cannot access anything from the database - queries fail with the following exception: ... one ObjectDB application or another utility that manages files, including the database file while it is open by ObjectDB)? ...

 
release

2.6.4

... Fixed large transaction temporary files implementation ( feature request #255 ). Fixed a bug in ... #257 ). Added an option to use temporary files for very large transactions ( feature request #255 ). ...