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

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt #1 2016-08-06 16:09 Hello, Is there a simple way to check if indexes specified in entities are well taken into account by Obj ...

 
forum_thread

Temporary disabling of indexes?

When populating a large database with objects that have indexed fields takes very much longer than populating the database with those objects if the index definitions are removed.  Is it possible to indicate in some way that for a particular use of the database indexes are to be ignored, and can be rebuilt later? ... require removing the @Index annotations from the entity classes. You should be able to load the data with no indexes and ...

 
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)

 
forum_thread

Delete class from DB - through Explorer

Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find any. Is there any way for doing that? If not, why? The only way I see right now is to delete the whole db and make a new one, but that's not a good scenario at all when you already have data in the current db. Thanks! ... Hi! I was looking for ways to delete a class (entity/embedded) from a database through Explorer, but I couldn't find ...

 
api-jpa

Cacheable.value

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

 
forum_thread

Data migration from SQLServer to ObjectDB

Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. ... program that retrieves data from the SQLServer database as entity objects and then persist these objects to the ObjectDB database. ...