About index

issue

Server NPE

I'm getting the following NPE when attempting to persist an object to a server based database: ... The stack trace indicates a problem in updating an index, maybe in a new type (or a new index). If possible, a test case that reproducea this exception will be ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... of an entity. See JavaDoc Reference Page... , @Index javax.jdo.annotations.Index JDO annotation Annotation for a database index. See ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... OK, I should mention one thing. This field has an index on it. After migrating schema, explorer was throwing an error about some ... My assumption is, that database schema was migrated, but index left for old values and when trying to rebuild this index, there was ...

 
release

2.2.9

... Fixed a bug in query plans that use an inherited index. Fixed an ArrayIndexOutOfBoundsException  bug in ... Improved cleanup and reusing space after index deletion. Changed default configuration (enabled recovery, ...

 
forum_thread

JDO sequences from ORM file

I want to use sequences in JDO without using annotations. Normally this is done with a package-X.orm file, where X is a value passed to the PersistenceManagerFactory as the value of property "mapping". I'm encouraged to see that the JDO zip that comes with ObjectDB includes the DTD/XSD for this type of file, though I can't see a mention of it in the manual. ... "JdoTypes$PersistenceCapableWithIndex" > <index name = "i1" unique = "false" > <field ... <field name = "path2" /> </index > </class > <class name = ...

 
api-jpa

javax.persistence.criteria.ListJoin

The ListJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.List.(Interface of JPA)

 
forum_thread

JPA-Query does not lead to any result

Hi, we have a database with a Entitiy inside which we want to fetch with a query. Normally that works without a problem, but in case of this database that query does not have any results. Can anyome help us what the problem is? SELECT FROM UserModelData usr WHERE usr.userName = 'admin' Attached are two databases, one where the query has a result and one where the query does not has any results. ... The query is executed using an index on field userName . In not-working.odb , the index looks: 0 - > UserModelData:"admin" "system" - > ...

 
forum_thread

ArrayIndexOutOfBoundsException

Hi, I've been getting the following exception when trying to query ObjectDB in server mode version 2.3.4_05. ... 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% Index Errors ------------ [1] Index com.contextspace.datamodel.attribute.AttributeValue[name] requires rebuild.   - has 280 entries instead of 0 [2] Index com.contextspace.datamodel.config.RAConfig[raId] requires rebuild. ...

 
release

2.2.8

... Improved cleanup and reusing space after index deletion. Changed default configuration (enabled recovery, ... Fixed a query execution bug when index with null keys is used. Fixed a bug in tracking field ...

 
issue

query.getResultList() throws ClassCastException

I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query:     TypedQuery<Point> query = em.createQuery("SELECT p FROM Point p where p.x <= :x and p.y >= :y",         Point.class); I get the exception at the end.  I do not get an exception if I: ... I modified the example code to include an index on the Point class like so:     @Index(members={"x","y"}) Then when I run the following query: ... I do not get an exception if I: Use no index Index only on "x" Use an OR in the query ...