ObjectDB Database Search
51-100 of 200 resultsCreate simple index for a Id field index . This is the original code: @Entity public class ObjectDbEntity implements DataItemProvider ... ; private Value value = null; and I just want my key to be indexed on my db, just like this: @Entity ... ; @ Index private Key key = null; private Value value | |
JDO @Index in JPA? Hi! I have a project which has all entities as JPA entities. I would like to make use of indexing ... : will adding JDO @ Index in a JPA entity have any effect or I have to switch that entity to JDO? Question2 ... the JDO annotation with JPA without any additional change. If you add an index to an existing | |
Index on map key Is there a way to create an Index with @ Index on the key of a map? wua Andreas Wurm Indexes on map keys as well as queries on map keys are currently not supported. But as a workaround you can use ... javax.jdo.annotations. Index ; import javax.persistence.*; public class T1255 { public | |
Are indexes implicitly created for relationships? Do the following annotations @OneToMany @ManyToOne @ManyToMany @OneToOne imply @ Index   ... ) should apply @Unique on the @One side. But ObjectDB doesn't apply these indexes automatically, because of their overhead (which most users are not aware of). You should use the @ Index or @Unique annotations explicitly to set indexes . support Support | |
Index on values from a Map Hi, is there a way to put an Index on the values from an Map? For example, if I have a Map like ... = mmsContainer.values(); Thanks for you help wua Andreas Wurm Indexes are used only in queries, and cannot accelerate other application code. You can define an index on a map value | |
Search through collection for value using index that can be modified by a paticular user, since I will do this query often I would like to index it. How would I tell ObjectDB to make an index and then use it in a query? I have yet to deploy this entity so I ... Herman You can define an index on a collection field as explained in the manual , and the index | |
Indexes broken after schema update. to pick up the new schema and now none of the indexes work, except the @Id. I can query by any field that is not indexed on the existing Object but as soon as I try and query against a field that was indexed I get no results. Tried 2.4.2 and 2.4.2_02 with same results. bensteele Ben Steele Adding | |
is JDO field attribute "indexed" supported? seem to have specific documentation for this. Your documentation for JDO annotation @ Index mentions that it corresponds to the XML element which is one way to specify indexes in XML metadata. But there is another way which is to specify an indexed attribute on the field element, like or indexed ="true". It doesn't | |
"Rebuild Class Indexes" from the command line? Hi, Is there a way to "Rebuild Class Indexes " from the command line? I have just added a new index ... an index currently requires running the ObjectDB Doctor , which is run from the command line. ObjectDB 1 ... implemented in ObjectDB 2.x. Update: Starting ObjectDB 2.6.6 new indexes are automatically built and activated in the background . support Support | |
Partial Indexing I have a question about partial indexing . For example, a field of String type ttt, will be distinguished by the first 5 characters, then I can make a index of substr(ttt,1,5) in MySQL. With ObjectDB ... only indexing of complete fields (single field or multiple fields). The obvious workaround | |
Check for index existence ? Hello, Is there a simple way to check if indexes specified in entities are well taken into account ... of indexes : When you execute a query in the Explorer in the log pane. In the log file if you enable query ... in log is not immediate. Well, how can i check index existence so ? xirt Sylvain The log | |
Case Insensitive Indexes How do you do case insensitive indexes ? I have search the Forum and tutorials and have not found any info related to this. Thanks, -- Nathan Modrzewski nmodrzewski Nathan Modrzewski Case insensitive string indexes are currently not supported. If you cannot use lowercase only (or uppercase | |
Search with wildcards and index issue annotations: @ Index (unique="true") @Column(nullable=false,unique=true) the search no longer works. I ... demonstrates that ESCAPE in LIKE was ignored when using an index . Build 2.3.7_11 fixes this bug. Thank you for your report. support Support | |
Add Indexes to existing Database Hello ObjectDB Team I might have read the solution to this issue some times before, but I could not find an answer now. So sorry for bothering you. I want do add an @ Index annotation to a member of an existing Entity. This changes affects also existing databases. Is there any best practice | |
Composite index support collectionComposite index support collection | |
Unexpected exception during open the database seems to be related to opening and closing the database for a short period, when indexes require ... class RenamedTestImpl { ... @ Index private String scopeID; ... } if we remove the @ Index annotation in the entity or we remove | |
Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x an index is missing? It would help if you could upload a sample database and a simple test program ... the query. binitbhaskar Binit Bhaskar In the database that you uploaded there is an index on field logEntryId , which is inactive. An inactive index is usually the result of adding a new index | |
General Performance Issues Illustrated with a Specific Method java.io.Serializable; import java.util.Date; import javax.jdo.annotations. Index ; import javax ... = GenerationType.AUTO) private Long id; private static final long serialVersionUID = 1L; @ Index @OneToOne(cascade = CascadeType.ALL,fetch = FetchType.EAGER) private Person person; @ Index private String phn | |
What role is the JDO in ObjectDB? found a flaw in JPA that the @ Index can not be used. These is an example in ObjectDB which used @ Index , I traced it to the JDO lib. So if I want to make a index without SQL on database, then @ Index is a mandatory function. Any suggestion on @ Index ? gzdillon Lai Yang You are right - setting | |
Exception after update of indices of Entity class Hello, I changed the index definition of an entity class from @ Index ()... to @Indices() and now I ... build. Could you please try opening the database after the index change with the most recent ... ) Best regards doppelrittberger Markus Ritter Thanks. Changing from @ Index () ... to @Indices | |
alter table column ... alter table add index ... TIA gzdillon Lai Yang There are no tables is ObjectDB. Anyway,   ... Evolution in the manual). alter table add index ... Add the index definition and rebuild the database ... of "add column"; but I can not find anything about "add index " in the links you given. TIA gzdillon | |
query hint.name = 'slots' and p4.doubleValue 0)) [[objectdb.query-plan-text= index (ctso['(TC)'-'(TC)']] but the index that is in the hint is not used the MultiVarPlan that is listed shows our index in ... ---------------------------------------- [Step 1a] Scan index com.agile.hummingbird.ObjectNode | |
Performance issue in a query due to compareTo calls (AccessType.FIELD) public class TCStep extends Identifiable { @ Index private long stepNumber; @Basic ... = CascadeType.REMOVE) private Values valuesRef; } @ Index (members = {"step.stepNumber"}) @Entity @Access (AccessType.FIELD) public class Values extends Identifiable { @ Index private long stepNumber | |
First query takes 4+ minutes to complete({ : // Indices building trees in client applications @ Index (members={"startDate", "toExtension"}), @ Index ... prolancer Emil Andonov Please try adding an index : @ Index (members={"startDate ... index is used. With this index your query execution time should be very good, but if it doesn't | |
massive performance issues. We are completely unclear if indexes or statistics are really used. sometimes a query like this takes takes ... statistics. You can see that suddenly on starting some index is cleared (doctor should correctly create that ???) and then there is a mixture of creating indexes and statistics - ISAR-before-doctor | |
significant performance decrease 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. support Support Object class is defined like this ( indexes are defined | |
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 | |
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 | |
Internal Exception and Index Problems userName is not synchronized with the index on that field. It is unclear how this happened ... the index by running the Doctor in repair mode: java com.objectdb.Doctor error.odb error2.odb ... when an object is indexed . We were aware to issues that are caused by schema changes against a running | |
"is not null" queries not working with index "is not null"-queries are not working correctly for indexed fields. Following SSCCE creates 1000 entities. A null value is assigned to an indexed field for every second entity. When doing count ... . Index ; import javax.persistence.Entity; import javax.persistence.EntityManager; import javax | |
Support for case-insensitive indexes I would like to request support for case insensitive string indexes . Case-insensitive search is a very common requirement and adding a separate field for every indexed field is a pain. Regards, Natalia. natmaclin Natalia Levine | |
Full Text Indexing and Query The ability of ObjectDB to index collections, including collections of strings, can be very useful in text indexing and search. By splitting document text into words and keeping these words in a List persistent field, documents that contain specific words can be retrieved easily and efficiently | |
Mysterious "Attempt to persist a reference to a non managed instance" error complexity, 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 ... Index implements Serializable { @Id @GeneratedValue private long id;   | |
ODB IndexActivation NullPointerException Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon ... I've read that: " Indexing large amount of data may take considerable processing time." Do we have to wait until index activation is finished before we can start using the database or | |
InternalException when querying indexed field using a list that contains duplicates filter like this is used: ":ids.contains(originalId)" originalId is an indexed String field | |
Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116) Please check the attached database file. When running the Doctor, I get Global Value Errors ------------------- [1] Unexpected last index ID: -119 (expected -116) Page Content Errors ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV 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. This may indicate | |
JPA query of a Set of terms SearchIndex { @ Index SearchTerm term; @ Index Page page; } Now suppose I have an array of SearchTerm objects ... .setParameter("t1", t1).setParameter("t2", t2); By the way, since ObjectDB supports indexed collections ... { @ Index List terms; } In that case the query is simpler (and possibly faster): TypedQuery query | |
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. peric.emil Emil Perić With proper indexes defined, queries on millions ... indexes that are not in use. Particularly, if a new index is defined for an existing entity | |
Nexus proxy repository with ObjectDB Remote Storage Location: http://m2.objectdb.com Download Indexes , Auto Blocking, File Validation all set ... ; [pxpool-1-thread-13] admin org.sonatype.nexus. index .DefaultIndexerManager - Trying to get remote index ... ; | 2014-03-27 08:54:13 INFO [pxpool-1-thread-13] admin org.sonatype.nexus. index | |
Not releasing locked MST object update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding (update ... Thanks for the tip. I don't have the element in my ObjectDB conf file, so I guess the index | |
AnnotationRef jakarta.persistence.TableGenerator of the table. Defaults to the default catalog. Since: JPA 1.0 Index [] indexes default {} (Optional) Indexes for the table. These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index is created automatically | |
AnnotationRef jakarta.persistence.Table to be applied to the table. This is only used if table generation is in effect. Since: JPA 3.2 Index [] indexes default {} (Optional) Indexes for the table. These are only used if table generation is in effect. Note that it is not necessary to specify an index for a primary key, as the primary key index | |
AnnotationRef jakarta.persistence.JoinTable foreign key strategy is selected by the persistence provider. Since: JPA 2.1 Index [] indexes default {} (Optional) Indexes for the table. These are only used if table generation is in effect | |
AnnotationRef jakarta.persistence.CollectionTable. Since: JPA 2.1 Index [] indexes default {} (Optional) Indexes for the table. These are only used if table | |
AnnotationRef jakarta.persistence.SecondaryTable. Since: JPA 2.1 Index [] indexes default {} (Optional) Indexes for the table. These are only used if table | |
InterfaceRef jakarta.persistence.criteria.ListJoin Expression index () Create an expression that corresponds to the index of the object in the referenced ... denoting the index Since: JPA 2.0 ListJoin on ( Expression restriction) Modify the join to restrict | |
each 1-2 days objects on some objectdb level lock/block each other (and a few seconds could also be considered by users as slow), e.g. by using additional indexes , to prevent ... massive queries against the data rather than against the indexes . support Support Maybe setting  ... against any sending before a reply is received. as regards the queries and the indexes | |
Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer Content Errors ------------------- [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 | |
queries under 2.7.6_4 significantly slower than under 2.7.6 index com.agile.hummingbird.ObjectNode[classIdentifier] locating ObjectNode (o) instances ... : Process ObjectNode (v$1) instances ------------------------------------------ [Step 1a] Scan index ... .classIdentifier='(TC)')). [Step 1b] Order the results of step 1a by: v$1. [Step 1c] Scan index com.agile |