About entity

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

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

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

 
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. ... Anyone else noticed this? I updated an entity Object with some new fields, restarted the database to pick up the new ...

 
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)

 
issue

When using inheritance, you can specify, which ID to use

When storing objects with inheritance, it should be possible to choose, which ID (parent or child class) should be used for new object. For example: public EntityA() {     @Id     long id;     String field1; }   ... It should be possible to trigger generating ID from child entity, for example like this: public abstract EntityA ( ...

 
issue

javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getPropertyName

NB: the following issue only happens with ObjectDB, it does not happen with EclipseLink.  Glassfish3.0.1 objectdb-2.2.5_10 JavaEE6 web app The error reports as: javax.servlet.ServletException: Annotated methods must follow the JavaBeans naming convention. __odbHidden_getWidthPxSideBarLeft Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: ... Where getWidthPxSideBarLeft() is an annotated getter of an entity ViewConfiguration: private int widthPxSideBarLeft = 250; ...