About recording

forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... path = "." max = "100mb" /> <recording enabled = "true" sync = "false" path = "." mode ...

 
forum_thread

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes: #1 2011-05-24 23:44 I test the time cost for find(), obtain a linear complexity with the following codes: int iBlock = ...

 
release

2.4.0

... Changed default configuration (enabled recovery, disabled recording). Fixed a critical database structure bug ( issue #36 ...

 
issue

Entity Version History

ObjectDB manages automatic entity versioning (for optimistic lock purposes). Every entity object modification is reflected by a new version number. Previous values in the entity object that are overridden by new values, however, are discarded. Some applications may benefit from the ability to go back in time and view old versions (and old values) of entity object. Future versions of ObjectDB should support archiving old versions of specific entity classes. Feature Request Version: 1.04 Priority: Normal Status: Active Replies: 2 Type:  Feature Request ...

 
forum_thread

Composite indexes

Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/index), but I still have some problems understanding how and when should I use them.   Let's start with some example then. Assume we have an entity that represents an interior design image, called Inspiration : #1 2012-12-20 17:55 Hi, I read your manual about defining Indexes for JPA Entities (http://www.objectdb.com/java/jpa/entity/i ...

 
release

2.2.1

... Changed default configuration (enabled recovery, disabled recording). Fixed a critical database structure bug ( issue #36 ...

 
release

2.0.1

... Fixed a bug in the new log based (recording) recovery from failure mechanism. Fixed a bug in ...

 
issue

Full Text Indexing and Query

The ability of ObjectDB to index collections, including collections of strings, can be used for text indexing and search. By splitting the text into words and keeping the words in a List<String> persistent fields, documents that contain specific words can be retrieved easily and efficiently. This ability should be extended in future versions of ObjectDB to complete full text support, as provided by separate tools such as Apache Luncene. Feature Request Version: Priority: Normal Status: Active Replies: 1 Type:  Feature Request ...

 
forum_thread

Performance tuning, best practices

we have a system where we serve from a host process around 200 clients connected via webSockets (Jetty). The core process is running on a dedicated Windows 2012 server with 16 GByte RAM and 8 processor cores.  What is strange for us is that max 20% of the cpu resources are used and the IO subsystem is at maximum 30% of activity under heavy load but database queries are let's say not at the speed we would expect. We have currently 20.000.000 objects in the database, our configuration settings are: ... sync="false" path="." max="128mb" />   <recording enabled="false" sync="false" path="." mode="write" />   ...

 
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 #1 2011-07-15 05:33 I have ObjectDB partially working with my project. At the moment it seems to be saving objects and retrieving obj ...