About Index

91-100 of 200Refresh
Issue
4

each 1-2 days objects on some objectdb level lock/block each other

-check="true" /> <index-update ... using additional indexes, to prevent the need for repeating requests. It also makes sense to prevent ... against the data rather than against the indexes. Maybe setting query timeout could also help, at least to kill
Forum
4

Mysterious "Attempt to persist a reference to a non managed instance" error

, but it's still failing. It involves two entities, Index and Ostrich. The thing to note is that the Index structure is recursive through maps; but that's never caused any problem for me in the past ... .CascadeType.*; import static javax.persistence.FetchType.*; @Entity public class Index
Forum
3

First query takes 4+ minutes to complete

) @Indices({ : // Indices building trees in client applications @Index(members={"startDate", "toExtension"}), @Index(members={"startDate", "fromExtension"}) }) public class ... an index:     @Index(members={"startDate", "startTime", "channelNumber"}) Start with a new empty
Forum
3

Left join fetch behaviour doesn't retrieve children?

fact, when we are doing a left join on an attribute which is also indexed we may have some weird behaviour. Sometime (a broken index ?) has for consequences a bad retrieve of MyEntity records. So some records just disappears ! I don't know if my index has been broken ( may i have some indications
Forum
3

significant performance decrease

, what can we do ?   More information is needed. Are you using indexes? Queries become slower with larger databases if indexes are not defined, or not defined properly. Please provide more details about the query, relevant entity classes, indexes, database size, and query execution time. Object class
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