About Index



Release date: 2011-01-11 Download (3.4 MB) Binary:  objectdb-2.0.4.zip You should start by following a  tutorial or reading the manual ...


Query execution causes an unexpected internal exception (Error 990)

We have the following exception, why our query fails? ... The stack trace indicates an unexpected index state during a query update. You should see some log lines starting at "Attempt to remove a non existing index entry" in the ObjectDB server log file. Could you please post these ...


InternalException in Database Doctor

Database Doctor has thrown an InternalException right after starting to diagnose or repair my DB file. The version of the Doctor used was 2.6.9_06. The stacktrace below:   ... the Doctor is trying to diagnose a database with a new index that requires building and the index is built automatically when the database is opened by the Doctor during ...


Full-Text Searching

Hi, I an wondering whether there are any suggestions on design patters for doing full-text searching within ObjectDB?  Obviously, a solution would be to use Lucene for those types of searches with pointers back into ObjectDB.  Is there a way to extend ObjectDB to do that within the engine? Thanks... The ability of ObjectDB to index collections, including collections of strings, can be very useful in text ...


High availability and other pratical questions

Hi,   I've just started developing a mobile app which will use a server side, hopefully handling a lot of processing and traffic. I was inteding to use TomEE+ with built-in OpenJPA and Postgres DB, initially on one master server but as it grows more master servers will be set (in different geo locations/data centers) using some data sync mechanism between them.   Now that i've met ObjectDB I want to check the option using it instead of postgres so I have few questions regarding it: #1 2012-10-01 19:54 Hi,   I've just started developing a mobile app which will use a server side, hopefully ...


Possible issue with String fields

Hi I'm brand new to objectdb and I'm trying to create an objectdb from a sample db via jdbc. The code all works and for a few thousand records but when I increase the number of records I get the following " ... to commit transaction: String index out of range: 5 (error 613) at ... by: java.lang.StringIndexOutOfBoundsException: String index out of range: 5 at java.lang.String.charAt(String.java:695) at ...


Insert time increases as db grows.

Hello, ... Long id on every entity and additionally one entity have index on String column. Entities are not enhanced and inserts are committed in ...


ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: ... Improved cleanup and reusing space after index deletion. Changed default configuration (enabled recovery, ...



Columns that compose this index.(Annotation Element of javax.jdo.annotations.Index)


Unexpected internal exception during set field of an Embeddable to null

Hello, we get an Unexpected internal exception and have no idea what goes wrong. We can reproduce (mostly) the error in a very big use case. In the big use case and we create and persist millions of SignalValueImpl objects (Embeddables). Partly as in the stack trace an Embeddable contain another Embeddable. It seems like that we can't reproduce the problem in smaller use cases with less objects. Stack trace: ... the stack trace). According to the class the field index is 1 and that it what is sent to  beforeModifyMember: ... version of the enhanced class, in which the field index was 2. The sub class at #8 doesn't seem to be related. ...