About composite

1-10 of 69Refresh
Manual
43

Index Definition

can only be defined on ordinary persistent fields (not on primary key / version fields). Composite Index A composite ... . Composite indexes on multi part paths are also allowed: @Entity @Index(members={"addresses.city ... for every entity. Multi part paths in a composite index must have the same length. Therefore, the following
Manual
32

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 consist of multiple ... Entities section. Embedded Primary Key An alternate way to represent a composite primary key is to use
Forum
27

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 ... a WHERE a.state = 3 AND a.subType = 3 AND a.type = 0 AND a.startDate > ?1 If the composite index was added
Forum
26

Composite indexes

; // either true 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 ... my doubts regarding more complex queries later. 1. Field Order in a Composite Index The usability
Forum
26

Composite Index error 328

.UsrlistEntity (error 328) The id field cannot be part of a composite index, as it is defined as the primary ... , i can make primary key as composite index. I can give secondary index. is  it impossible for objectdb ? Yes, a composite index that includes primary key fields is currently not supported by ObjectDB
Forum
26

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

possible as my SafeLong class is just a simple wrapper. Multi part paths in a composite index ... issue with enabling such an index. A composite index with components of different lengths is forbidden ... void main(String[] args) {         System.setProperty("objectdb.temp.flexible-composite-index
Result
25

ObjectDB Object Database Features

other internal caches. Indexing Single field and multi field (composite) indices. Collection and array ... ObjectDB with no @Id field. Simple primary key - a single @Id field. Composite primary key - multiple ... replication (clustering) with an unlimited number of slave nodes. Dynamic composite database
Forum
24

Composite index support collection

Hello, is there any chance that you support composite indices with fields and collections combined in the future? We need such feature in our application and would be very happy to see it in the future :) Best regards Markus It may be supported in future versions (probably with a restriction
Issue
24

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception while testing the "composite key" feature in JPA. Let's see what I am doing : @Entity public class Book { @EmbeddedId BookId id; } @Embeddable Class BookId { Integer bookIdCountry
Forum
24

Merge failure with composite primary key

it. The composite primary key issue is unclear, since switching to a single primary key field doesn't seem to make any difference. eurojet