About Object Database

manual

Index Definition

Describes how to define indexes in JPA entity classes and explains how indexes are used in JPQL queries.... indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if many ... the ObjectDB Explorer and in logging. When an entity object is stored in the database every indexed field must contain either null ...

 
issue

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028@wzbhb101 [2017-07-10 21:07:23 #2 server] Server on port 3333 has started by 11028@wzbhb101 [2017-07-14 07:08:38 #3 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} [2017-07-14 07:09:08 #4 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} ... 10:54 we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store] ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

Drop the entire database, Change the schema

I am trying to port and example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. Is there a simple way to do this with ObjectDb, or is the only way to delete the database file everytime? Thanks ... example app to ObjectDb. As part of the tests I drop the database and reload it with the new schema automatically between test cycles. ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
forum_thread

ClassCastException of same object type

I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving objects ok in the main project. However, when I make a plugin for the project, the new objects are persisted but not retrieved. I get the following error: java.lang.ClassCastException: org.sportscoring.ssv.xc.core.XCCompetitorCount cannot be cast to org.sportscoring.ssv.xc.core.XCCompetitorCount ... The object "org.sportscoring.ssv.xc.core.XCCompetitorCount" implements an interface ... The source code is attached. When I debug, the object is retreived but when I try to add it to do the following as below ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
manual

Database Schema Evolution

Explains how ObjectDB handles automatically schema changes.... of old entity objects after schema change. When an entity object of an old schema is loaded into memory it is automatically converted ... in memory each time the entity object is loaded. The database object is only updated to the new schema when that entity object is ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... ObjectDB to use soft reference for its Level One (L1) object data cache.  I disable the L2 cache and use 1 MB for the ObjectDB ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2.0 The application works with 256MB heap size with objectdb 1.0  But on 2.0 even with max heap size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new odb file and inserts 200 records at a time. ... after persisting 200 records and then the same transaction object from the same PersistentManager is used to begin the transaction. ... com.anritsu.eu.database.DatabaseImplementation.storeItem(Unknown Source) at ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) ...

 
release

2.6.7

... (experimental) support of using clients with different object model versions. Changed references to new flushed objects ... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ...

 
issue

Corrupt database page

Hello, we have encountered an issue, where a page of the database became corrupt. We are wondering now, if you know of any issues that can cause this problem. We would be grateful for your help. Best wishes, The BTC-ES team   ObjectDB Doctor [version 2.7.1_03] Copyright (c) 2017, ObjectDB Software. All rights reserved. ... we have encountered an issue, where a page of the database became corrupt. We are wondering now, if you know of any issues that ...   - Unexpected object count: 350093 (actual 350090) Page Content Errors ... [5] Page #11436 entry 3 has unexpected object format [6] Page #11436 entry 3 (key '41zbT') has 134 extra ...

 
manual

Auto Generated Values

Explains the different strategies for generating auto values (mainly for primary key fields) in JPA.... maintains a special global number generator for every database. This number generator is used to generate automatic object IDs for entity objects with no primary key fields defined (as explained ...