About entity

issue

huge heap usage

we are using objectdb 2.7.2_6. At a custumer we have huge problems with the memory consumption (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? ... in memory (particularly roots and paths that keep your entity objects and ObjectDB's  ENT and STA objects in the ...

 
issue

InternalException: null

Hi! when I run my application where 10 threads are concurrently accessing ObjectDB (only reading) via using ExecutorService, then these 2 mistakes are coming rapidly: 1. ... Caused by: com.objectdb.o._JdoObjectNotFoundException: Entity is not found: eu.extech.data.versioning.ProductVersionHistory#3669 at ...

 
forum_thread

Performance Questions...

Greetings ObjectDB team, All below questions assume a very large database (~1,000,000,000 objects) Q1: Two queries with a big overlap between their result sets. If I query the first and hold them in memory somehow, would that speed up the execution of the second query since many of its result objects already created and reside in memory ? Q2: Do I need to manually use strong references to such cached result objects ? or do ObjectDB exploits frequency of querying such objects and keep them in memory longer automatically somehow before GC takes place ?... versions of ObjectDB might share an L1 cache of read only entity managers automatically. Even though ObjectDB implements LIKE very ...

 
api-jpa

javax.persistence.NamedQueries

Specifies multiple named Java Persistence query language queries.(Annotation of JPA)

 
api-jpa

OneToMany.targetEntity

(Optional) The entity class that is the target of the association.(Annotation Element of javax.persistence.OneToMany)

 
api-jpa

getCriteriaBuilder()

Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.(Method of javax.persistence.EntityManager)

 
api-jpa

javax.persistence.PersistenceContexts

Declares one or more PersistenceContext annotations.(Annotation of JPA)

 
api-jpa

PersistenceUnitTransactionType.JTA

JTA entity managers will be created.(Enum Constant of javax.persistence.spi.PersistenceUnitTransactionType)

 
forum_thread

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  ... ) ; System. out . println ( "Entity persisted" ) ; }   }   ...

 
forum_thread

Best practice: Database update/migration of embedded databases in products

Hello Support, what experience do you have for data migration within a product? An example: There are three versions of a product (v1.0; v1.1, v2.0). In each version, the entities have been modified. Attributes added, removed and renamed. If attributes were removed, then only because the data is now held otherwise. #1 2015-01-14 12:09 Hello Support, what experience do you have for data migration within a product? An example: ...