About Object Database

release

2.5.1

... when logging is disabled. Improved closing database time when recovery is disabled. Fixed ... Changed merge implementation (removed temporary object clearing). Fixed the Explorer to show null values in ...

 
forum_thread

persisting object with long[][] arrays of array

Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. It is taking very long to persist and sometimes never finish - it hangs on getTransaction().commit(); Here is the object: ... Hi, I have an object I am trying to persist (java) - It has several fields of type long[][]. ... Persisting 100,000 small objects (arrays) to the database is expected to take much more time than persisting one large object of ...

 
forum_thread

Query all objects that implements a given interface - is that possible?

Hi, I am trying query one of my DB - for all object types that implements a given interface. TypedQuery<Signal_Interface> query = em.createQuery("SELECT bk FROM Signal_Interface bk", Signal_Interface.class); I got the following error.  I am not sure it is possible to do it - Any suggestions would be appreciated. Regards, EKK ... Hi, I am trying query one of my DB - for all object types that implement a given interface. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

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! ... Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

World database - Changing country ID

Hi, I am getting familiar with OpenDB as I am considering using it in some project. I opened Sample world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM Country c WHERE id = "cz" no results are returned. If i find it by name, I can see ID has changed to cz. However Country#ez is still displayed in the top. ... Changing the primary key of an existing entity object is not allowed and the Explorer should be fixed to prevent it. ... Regarding the primary key in the world example database - the data is derived from the CIA Factbook, in which the internal ...

 
forum_thread

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

This topic is for those considering migrating from EclipseLink JPA or TopLink to ObjectDB JPA. ... load the entities of the lazy loading association from the database, when it needs it (without any merge call). From doug ... proxies to retrieve additional dettached instances. If the object was detached through serialization this would not be possible. .. ...

 
forum_thread

Understanding Database max-threads objectdb.conf Settings Option

These are questions asked in the context of the proposed architecture described in the forum thread titled, "Sample JDO Architecture for Follow Up Questions".   In the objectdb.conf file (attached to forum thread mentioned above), I set Database max-threads.  In the documentation, it was not completely clear to me if this setting controlled how many internal threads ObjectDB uses, or if ObjectDB is doing some sort of queue/locking whose depth is determined by this setting (and entries are per thread request). ... (attached to forum thread mentioned above), I set Database max-threads.  In the documentation, it was not completely clear ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Does aggregate function "greatest" work on entity objects?

do not come to the function "compareTo" @Entity public class ChatHistoryItem extends AbstractObject implements Comparable {     private static final long serialVersionUID = 1L; ... Override public int compareTo ( Object t ) { ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

Can't open replicated database

I have a database running in server mode on port 6136 on server1 and server2. Each server has a replicated copy of the other servers database. I try to open the replicated on one database for a query (just read, no update) but it fails with the error below. The code I'm using is (user & password has been deliberately removed): ... 14:11 I have a database running in server mode on port 6136 on server1 and server2. Each ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Database Inconsistency or corruption

Hi, since a week I have been trying to find a solution to a strange problem. We are using ObjectDB 2.6.8_02 im embedded mode. The problem is that data gets lost when updating an entity. 1-) Background Consider Three entities: ObjectValue, Attribute and Value. ObjectValue has a one to many relationship to Attribute and Attribute has a one to one relationship to Value. ... 2-) Problem Description I initialized the database with some ObjectValues. Persisting new ObjectValues (with new ... the update operation, I dump the properties of the object I want to update. ObjectValue ID:=100, TYPE:=Person, ... the update Operation I also dump the properties of the object. ObjectValue ID:=100, TYPE:=Person, REVISION:=2, ...