About Object Database

forum_thread

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ..     @OneToMany(mappedBy = "invoice", fetch= FetchType.EAGER, orphanRemoval=true, cascade= CascadeType.ALL)     private List<InvoiceItem> invoiceItemList; .. } ... the entity, I'm using merge and flush. The entity object is managed, so I think this has no effect... Is there any ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

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

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: ... should be used. As explained on the Object DB vs EclipseLink/TopLink: on accessing lazy loaded relationships ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List <Employee> employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed??  ... new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : ... automatically when the object is retrieved from the database again. Try to refresh the department object after the transaction ...

 
forum_thread

collection of embedded objects

1. In general, are there any restrictions of the use of @Embedded objects in collections, compared to @Entity? 2. If you have a large nested collection of @Embedded objects, and you remove the parent @Entity, does the remove cascade through the whole collection? 3. Is searching through collections of @Embedded objects more expensive (time) than searching through collections of @Entity? ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
manual

Shared (L2) Entity Cache

Explains how to set and use the EntityManagerFactory's shared cache (L2 / level 2) in JPA 2.... as a first level cache. An attempt to retrieve an entity object that is already managed by the  EntityManager returns the ... caches on the server side: Cache of database file pages . Cache of query programs . ...

 
forum_thread

Using multiple databases

Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? ... to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
release

2.6.5

... (experimental) support of using clients with different object model versions. Changed references to new flushed objects ... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ...

 
release

2.6.6

... (experimental) support of using clients with different object model versions. Changed references to new flushed objects ... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ...

 
forum_thread

Feature request - ability to refresh an open database view in explorer

The ability to refresh view in explorer automatically. Fine if this is read-only. Extra points if you can do this with local databases as well as remote.... requests should be submitted on http://www.objectdb.com/database/issue . ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...