About index

101-110 of 200Refresh
Forum
3

Efficient query on EmbeddedId

.field1 and entity.id.field2 form a composite index together, in the order in which they were declared. In this case, can I just declare an additional index on entitiy.id.field2 in the entity class as @Indices({@Index(members = {"id.field2"})}) or do I have to duplicate entity.id.field2 into entity
Forum
3

Exception on creation when running multithreaded

>
Forum
3

com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV

(EventDispatchThread.java:91) It seems that the query is executed using a composite index on the mapFromCli field. Could you please provide details on composite indexes that include that field? Unexpectedly, one of the values in that index is NULL rather than multiple values reflecting the indexed fields
Forum
3

Internal exception when updating date filed (TemporalType.DATE)

will be as short as possible. import java.util.*; import javax.jdo.annotations.Index; import javax ... {                 entityManager.getTransaction().begin();                 for (int index = 0; index < count; index ... .randomUUID().toString();         @Temporal(javax.persistence.TemporalType.TIMESTAMP) @Index
Forum
3

JPA query of a Set of terms

SearchIndex { @Index SearchTerm term; @Index Page page; } Now suppose I have an array ... ).setParameter("t2", t2); By the way, since ObjectDB supports indexed collections you may also consider a simpler schema, with no intermediate SearchIndex class: @Entity public class Page { @Index List
Forum
3

Nexus proxy repository with ObjectDB

Storage Location: http://m2.objectdb.com Download Indexes, Auto Blocking, File Validation all set ... ] admin org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository ... ] admin org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository
Forum
3

performance limit

, what when we will have few milion records, how to handle this. Everything is set to lazy loading, we tried indexing ... range. Regards.   With proper indexes defined, queries on millions of objects should take only milliseconds. There could be several reasons for slow query execution, including indexes that are not in use
Issue
3

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

------------------- [1] Page #16748245 has a non first section entry (at entry 1). Index Errors ------------ [1] Index com.agile.hummingbird.ObjectProperty[doubleValue] requires rebuild.   - has 0 entries instead of 1 [2] Index com.agile.hummingbird.ObjectProperty[name] requires rebuild.   - has 0 entries
Forum
3

collection of embedded objects

always. Is there any advantage to indexing collections of @Embeddable objects? ie. Suppose I want to query ... clearly need an index on B.value. Do I gain anything from an index on A.set? You cannot define an ordinary index on a field whose type is a user defined embeddable class or a collection of user
JDO Doc
3

Indices.value

Annotation Element javax.jdo.annotations.Indices Index[] value The indices Returns: The indices Since: JDO 2.1