About relation

forum_thread

Memory leak

Hi, We have a memory leak in our application which seems to be related with ObjectDB. Basically, we use single instance of EntityManager, which is opened on aplication initialization and closed when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit and after execution of query. Our classes are enhanced with ObjectDB enhancer. However, used memory is growing overtime until OutOfMemoryException is thrown on JBoss server. We use JBoss 7.1.1. and latest ObjectDB version. #1 2014-03-22 20:31 Hi, We have a memory leak in our application which seems to be related with ObjectDB. Basically, ...

 
faq

What is ObjectDB?

ObjectDB is an object oriented database management system (ODBMS). It provides all the standard database management services (storage and retrieval, transactions, lock management, query processing, etc.), but it uses an object oriented model to store an ...

 
forum_thread

Case Insensitive Indexes

How do you do case insensitive indexes? I have search the Forum and tutorials and have not found any info related to this.   Thanks, -- Nathan Modrzewski #1 2010-10-20 18:08 How do you do case insensitive indexes? I have search the Forum and tutorials and have not found any info related to ...

 
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; .. } ... I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements ...

 
api-jpa

JPA Annotations for Mapping (ORM)

Reference (JavaDoc) of JPA 2 ORM annotations. The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB: javax.persistence.AssociationOverride javax.persistence.AssociationOverrides ...

 
forum_thread

Relationships and tracking changes

3. Object relationship I try to create a 1->n relation (EBVerlag is 1 and EBUser is n) between two tables: Table "EBVerlag": ... 3. Object relationship I try to create a 1->n relation (EBVerlag is 1 and EBUser is n) between two tables: Table ...

 
api-jdo

compareTo(o)

Determine the ordering of identity objects.(Method of javax.jdo.identity.StringIdentity)

 
issue

An entityManager.flush() with many entities is not possible

  The following exception occures if we call entityManager.flush() where the corresponding JPA PersistenceContext has many entities and relations. What is the reason for the exception? entityManager.getTransaction().commit() instead of a entityManager.flush() works correctly. Unfortunately I have not found a simple example to reproduce this exception. The entity model of the flushed JPA PersistenceContext is too complex.  Bug Version: 2.6.0 Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
api-jdo

retrieve(pc, useFetchPlan)

Retrieve field values of an instance from the store.(Method of javax.jdo.PersistenceManager)

 
forum_thread

orphanRemoval = true not working when CascadeType.REMOVE is disabled

Dear all, I have entities Employee and Address, their relation is defined (full example in attachment): @Entity     public static class Employee { ....         @OneToMany(orphanRemoval = true)         private Set<Address> addresses; I'm expecting, that removing Employee from db, addresses has been too, but I can see, that the Address is still: ... all, I have entities Employee and Address, their relation is defined (full example in attachment): @ Entity ...