About modified

forum_thread

Merge of entity classes with "mapped by" very slow

Hi, I have found a strange behavior when merging entities with "mapped by" set on @OneToMany relation. Even if object is fetched with find on the same transaction, merge is very slow. It's because on merge every single relation marked as LAZY is fetch from database. Attached two examples - one with mapped by, second with adding entities list without "mapped by". The difference is huge event for such small objects - 2ms (without mapped by) vs ~50ms (with mapped by) ... it. If the problem still exists, please post a modified test case that demonstrates it with the new build.   ...

 
manual

[ODB1] Chapter 1 - About ObjectDB

Describes the main features and editions of ObjectDB 1.0 for Java/JDO. ObjectDB for Java/JDO is a powerful Object Database Management System (ODBMS) written entirely in Java. It can efficiently handle a wide range of database sizes, from a few KBs to hundreds of GBs. It has a small footprint, high performance, and a flexi ...

 
release

2.3.0

... Fixed a critical bug in schema evolution of modified ancestor classes. Fixed a bug in handling indexes in a ...

 
forum_thread

ArrayIndexOutOfBoundsException

Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2.3.4_05. ... like this exception starts to show up after the DB was modified and then all queries return errors. Thanks, Eitan ...

 
forum_thread

Class loading problem with private packages in OSGi environment

Our Business Objects are the JPA entities. We develop our product domain driven. This means we have several domains. Each domain is split into business layer and persistence layer (others are not relevant here). Per domain and per layer, we have an OSGI bundles. The business layer should have no dependency down (an exception is the dependency to the ObjectDB for the enhanced entities).  The persistence Layers have a dependency to the business layer and to the central DataAccess Layer.... we do not like, because it feels like a hack. We have modified the ObjectDB bundle with "Eclipse-Buddy classloading". ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database. New entity objects can be stored in the database either explicitly by invoking the persist persist(entity) EntityManager's method Make an instance managed and persistent. See JavaDoc Reference Page... method or ...

 
manual

Database Doctor

Explains how to use the ObjectDB object database Doctor tool to diagnose and repair database files and damaged Java/JPA/JDO objects. The ObjectDB Doctor tool provides two related services: Diagnosis and validation of an ObjectDB database file Checks a given ObjectDB database file, verifies that it is healthy and valid, and if the file is not valid (it is c ...

 
forum_thread

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! #1 2016-01-14 06:54 Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following co ...

 
page

Eclipse Public License - v 1.0

... inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to ...

 
forum_thread

Entity factory - best practices

Suppose I run a website that handles services such as user registration, user login checks, etc. I have all the credentials stored in an ObjectDB. Currently, each time user sends a request, I initiate a db connection by creating entity manager factory from db on disk, get the entity manager, modify stuff, close the connections. I wonder if it is better to have an overall db manager created on server init, then provide the shared instance over all requests, instead of creating a new one every time. #1 2015-06-13 04:58 Suppose I run a website that handles services such as user registration, user login checks, etc. I have all the c ...