About Object Database

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

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ..     @OneToMany(mappedBy = "invoice", fetch= FetchType.EAGER, orphanRemoval=true, cascade= CascadeType.ALL)     private List<InvoiceItem> invoiceItemList; .. } ... the entity, I'm using merge and flush. The entity object is managed, so I think this has no effect... Is there any ... ObjectDB Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
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

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

 
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

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

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

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

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

 
release

2.6.9

... Fixed a bug in removing a modified flushed entity object. Version 2.6.8 Added JPA XML validation ... Version 2.6.4 Added memory only database mode. Added an option to cascade detachment to ...