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   #1 2013-06-07 08:23 Hello, I have question regarding OEM licence enhancement. @ OneToMany ( fetch ...

 
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? #1 2016-06-29 18:30 When populating a large database with objects that have indexed fields takes very much longer than populating the ...

 
forum_thread

Unexpected exception (Error 990)

I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error:   #1 2013-04-05 12:38 I have a huge amount of inserts/updates and after a about 850.000 Entities I got the following error: [Obje ...

 
api-jpa

JPA Annotations for Relationships

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

 
forum_thread

Activation error on Schema change

Hi, 1) Is @OrderBy annotation supported ? When I add this annotation to my entity I get an error, saying that I did not activate my ObjectDB (which I did) : #1 2012-02-28 12:05 Hi, Is @OrderBy annotation supported ? When I add this annotation to my entity I get an error, sayin ...

 
forum_thread

Indexes broken after schema update.

Anyone else noticed this? I updated an entity Object with some new fields, restarted the database to pick up the new schema and now none of the indexes work, except the @Id. I can query by any field that is not indexed on the existing Object but as soon as I try and query against a field that was indexed I get no results. Tried 2.4.2 and 2.4.2_02 with same results. #1 2012-08-19 07:12 Anyone else noticed this? I updated an entity Object with some new fields, restarted the database to pick ...

 
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)

 
forum_thread

Data migration from SQLServer to ObjectDB

Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. #1 2015-08-25 12:44 Hi, could someone recommend a good tool to use for data migration from SQLServer to ObjectDB. ...

 
api-jpa

OneToOne.targetEntity

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