About Object Database

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) ...

 
issue

New entity objects are duplicated on merge cascading

When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice. This was demonstrated by a Java EE application in this forum thread but may be reproduced also in a simple console test case: ... When merge is cascaded to a new entity object that has not been persisted yet - it becomes persisted twice rather than ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
release

2.5.2

... #201). Fixed an exception when accessing an object with a closed EntityManager . Fixed a bug in viewing ... 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

Source control of database

Hi, I'm new with ObjectDB. I want to know how I can evolve my model, adding new fields, new classes, perform refactors between versions, etc... There is something like http://www.liquibase.org that can I use over ObjectDB? #1 2017-09-28 19:18 Hi, I'm new with ObjectDB. I want to know how I can evolve my model, adding new fields, new classes, ...

 
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

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

InternalException - error reading field from "queue" database

I trying to use an objectdb database as a persitent queue but have started getting the following error on the receiver side: ... I trying to use an objectdb database as a persitent queue but have started getting the following error on ... the exception is a simple String but is referenced as type Object. I'll try to put together an repeatable example but this may ...

 
forum_thread

can we use objected with ehcahce?

Hello , I need advanced caching system. Terracotta ehcache provides us , advanced distributed cache mechanism.   Can we use objectdb with ehcache ?   ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Get list of database files

Hi, we would like to know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a feature (File->Open C/S Connection->Browse...). Thanks for help! ... know if there is any API we can use to get a list of all database files on an ObjectDB server. The ObjectDB explorer has such a ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...