About file

forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem ... problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... files. After conversion I got a slightly smaller file with same number of objects (e.g. 3,3GB old file -> 3GB new file). However after using the v2 database in the ...

 
issue

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

Hi, ... up into the wrapper, which writes them to it's log file.  The stack traces do show that the Exceptions are originating from ... 813-562-0116 service.log file with Exceptions from ObjectDb code ...

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... on the server side: Cache of database file pages . Cache of query programs . Cache of ... Per persistence unit in the persistence.xml  file. Per entity class - using annotations. ObjectDB ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... the L2 cache and use 1 MB for the ObjectDB Datastore page file cache with page file size of 64 KB.  Here are relevant objectdb.conf settings: ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave ... server normally and then you should not have a recovery file (ended with $) with the master server. This procedure is required only ...

 
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?    ... fully automatic recovery on power failure:  Recovery File and  Recording . If you try a 'kick the plug out' while ... Maximum file size: 32 MB 0 ...

 
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 ... You can define indexes in an external XML file . More details would be needed in order to understand the empty results. Does it happen also with a new database file that is created after defining the new index? Using new indexes ...

 
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")); } ... directory that ObjectDB uses in the configuration file . By default ObjectDB uses  $temp/ObjectDB where $temp ... Maximum file size: 32 MB 0 ...

 
forum_thread

Connections pool

Hi! Does ObjectDB keeps and reuses a pool of connections as MySQL JDBC driver does?   ... 50. You can change it in the persistence.xml file , for example to maximum 100 connections: <property ... Maximum file size: 32 MB 0 ...