About Entity

forum_thread

OEM enhancing

Hello, I have question regarding OEM licence enhancement. @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)  private SomeClass[] props; @OneToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)     private Map<String, SomeClass2> vars = new TreeMap<String, SomeClass2>(); Are these classes(SomeClass, SomeClass2), when not enhanced, limited by number 1 million instances in DB? Thanks Marta   ... If SomeClass and SomeClass2 are entity classes they should be enhanced to avoid the restriction of one million ...

 
forum_thread

Deadlock in Doctor

Hi, Doctor from latest build has some kind of deadlock when writing new version of database file: ... 3957877 entity objects ( total ) have been migrated. And thats ...

 
forum_thread

Garbage Free Persistence?

Hi, I am trying to make my application garbage free. I noticed ObjectDB is not garbage free - I noticed that by persisting the same object 1mio times - and I can see the java garbage collector kicking and the usedHeap increasing. Is there a way to persist entities in a garbage free manner? Thanks EKK #1 2016-08-09 10:31 Hi, I am trying to make my application garbage free. I noticed ObjectDB is not garbage free - I n ...

 
api-jpa

JPA Annotations for Relationships

Reference (JavaDoc) of JPA 2 relationship annotations, including @ManyToMany, @ManyToOne, @OneToMany, @OneToOne, @OrderBy and @MapKey.... fields in persistable classes that reference other entity objects. The four relationship modes are represented by the following ...

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in an Eclipse Spring MVC JPA web application project.... persist - for storing a new  Guest entity object in the database. getAllGuests - for ...

 
api-jpa

SharedCacheMode.ALL

All entities and entity-related state and data are cached.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jpa

Cacheable.value

(Optional) Whether or not the entity should be cached.(Annotation Element of javax.persistence.Cacheable)

 
api-jpa

OneToOne.targetEntity

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

 
api-jpa

javax.persistence.metamodel.SingularAttribute

Instances of the type SingularAttribute represents persistent single-valued properties or fields.(Interface of JPA)

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