ObjectDB ObjectDB

Internal Website Search

1-10 of 73 resultsRefresh
144

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state ... ')) and (a.state = 3 and a.subType = 3 and a.type = 0 and a.startDate > ?1)) the composite index is not ... If the composite index was added to an existing database and you are using a version of ObjectDB before 2.6
140

Composite indexes

or false (...) } Here are my questions regarding composite indexes : #1. First of all - the first member in composite index should be a field that is most commonly used in WHERE clauses or maybe ... my doubts regarding more complex queries later. kborkowski Karol Borkowski 1. Field Order in a Composite
140

Composite Index error 328

.models.UsrlistEntity (error 328) The id field cannot be part of a composite index, as it is defined as ... . support Support on mysql , i can make primary key as composite index. I can give secondary index. is it impossible for objectdb ? eix128 Kadir BAŞOL Yes, a composite index that includes primary key
138

Multi part paths in a composite index must have the same length

as my SafeLong class is just a simple wrapper. Multi part paths in a composite index ... technical issue with enabling such an index. A composite index with components of different lengths ... -composite-index", "true");                 EntityManagerFactory emf =             Persistence
132

Problem with Composite indices

This uniqueness constraint has to be enforced by the application. Unfortunately a composite index on a field
132

Error opening database with ObjectDB Explorer when using composite key

Hi, When I use a composite key in an entity and fill this database with this entity, ObjectDB explorer throws me an error when opening this database saying something about an invalid ID class and not able to locate a field. I can however retrieve entries from my program. An example program
132

Merge failure with composite primary key

should fix it. The composite primary key issue is unclear, since switching to a single primary key
79

Index Definition

can only be defined on ordinary persistent fields (not on primary key / version fields). Composite Index A composite index is an index on more than one persistent field. It is defined by specifying multiple fields ... entity. Composite indexes on multi part paths are also allowed: @Entity @Index(members
67

JPA Primary Key

required. But ObjectDB also supports explicit standard JPA primary keys, including composite primary ... . Reference to an entity object. Composite Primary Key A composite primary key consists of multiple ... Entities section. Embedded Primary Key An alternate way to represent a composite primary key is to use
27

ObjectDB Object Database Features

Single field and multi field (composite) indices. Collection and array elements are indexable ... . Simple primary key - a single @Id field. Composite primary key - multiple @Id fields or ... ) with an unlimited number of slave nodes. Dynamic composite database connections for high availability

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support