Internal Website Search

101-150 of 200 results

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

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

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

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

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

still have another question. Have @Basic long types with @ Index instead of string types the same advantages as primary long keys. btc_es BTC EmbeddedSystems  Have @Basic long types with @ Index instead ... additional @ Index long field will not replace or help with an issue with the primary key (@Id

collection of embedded objects

when using embedded objects, but not always. support Support Is there any advantage to indexing collections ... =:value A is an Entity which has a ' Set set '. I clearly need an index on B.value . Do I gain anything from an index on A.set ? FastModel Ben Schreiber You cannot define an ordinary index on a field

no query result

and a.transferred = 0 and see a very strange query plan, an index scan for an entry that is not used ... ============================ [Step 1] Scan index com.agile.hummingbird.Action[endDate] locating ... ] Scan index com.agile.hummingbird.Action[state, subType, type, startDate, endDate

Queries are slow on a large database

query needs 4 to 5 minutes to return a result. I have been adviced to use indexes ... have to scan the entire database file and is not using indexes . Therefore I think I am not doing ... . A composite index in which the first component is  logTestRunId and the second is Id

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

, but why do you duplicate the primary key into an additional indexed field? Primary key fields are already indexed (and with a primary index , which is usually more powerful), so what are the benefits of having that additional indexed field? support Support Textual letter case.  I have an index

How to create a Unique constraint?

Account { @Id @GeneratedValue private long id; @ Index (unique="true") private String name; } The code runs ... ; FastModel Ben Schreiber When a new  index is added to an entity class that already has instances in the database - the index starts as inactive. To activate it you need to rebuild the index

Performance in SELECT statement

;  private Object value; // for now just Double values     @ Index   ... processingCount;     @Enumerated(EnumType.ORDINAL)     @ Index ... is JBoss Wildfly 9.0.2. Classes are enhanced... regards, paddy paddy Patrick Gerhardt The index

ArrayIndexOutOfBoundsException

of the Doctor? Are there any errors except indexes that have to rebuilt? Type version #4 in a new database ... % 80% 90% 100% Index Errors ------------ [1] Index com.contextspace.datamodel.attribute.AttributeValue[name] requires rebuild.   - has 280 entries instead of 0 [2] Index com.contextspace.datamodel

removing members in existing databases

aproach i have a next question: Is reendexing done automaticly, especially if you have new indexes or ... (defining indexes on the owner fields can help). Regarding the Doctor, although it is not intended for this use, if it works for you then you can choose this option. As a bonus, all indexes

Low performance when getting grove roots

an index for this field? Regards, Vladimir tsichevski Vladimir Tsichevski Of course. Setting indexes ... tsichevski Vladimir Tsichevski You can define indexes in an external XML file . More details ... that is created after defining the new index ? Using new indexes with an existing database requires fixing

Schema migration - long to String

is indexed ). Every old object should be adjusted automatically when it is loaded using the new scheme ... build 2.4.5_05. support Support OK, I should mention one thing. This field has an index ... , but index left for old values and when trying to rebuild this index , there was something wrong with filed

system exception occurred during an invocation on EJB GuestDao

) at org.apache.jsp. index _jsp._jspService( index _jsp.java:46) at org.apache.jasper.runtime.HttpJspBase ... .jsp. index _jsp._jspService( index _jsp.java:46) at org.apache.jasper.runtime.HttpJspBase.service ... .PageContextImpl.forward(PageContextImpl.java:792) at org.apache.jsp. index _jsp._jspService( index _jsp.java:46

openejb jpa jaas module

. Index ; import javax.persistence.*; import java.io.Serializable; import java.util.List; /** * Created ... ,generator = "seq") @ Index private int id; @Id private String user; private String password; @ Index private ... = principals; } } package com.bayner.jpa; import javax.jdo.annotations. Index ; import javax.persistence

java.lang.NullPointerException when using ORDER BY

the composite index with the unexpected entry, so both issues may be solved together. support Support I ... post it occurred to me try ORDER BY with a field that is not part of any index . I can reproduce the problem if a run a query where the ORDER BY filed is not a member of any index . It just happens

How to apply Unique constraints on embedded fields?

is enforced by maintaining an index . You can try defining a multi part path index in class ... Caused by: com.objectdb.o.UserException: Invalid index path 'b1.c.values / b2.c.values' in type org ... will have to be enforced by your application, as you cannot define such indexes . Alternatively, consider changing

Searching lists within objects

unique index on type and value (as shown above). Always look for existing attribute before ... enum (more efficient). An alternative solution is to use embedded objects: @Entity @ Index (members ... ), so you can build new embeddable objects for the search. However, I am not sure if indexes

Persist error @ManyToMany how to define correct entities relationships

webservice ID are used as index (and they may already exist in objectdb). I will try with merge ... ; lo Hoel   New try with @Genreated index and @Unique category ID, 1 category entity is created in ... on persist and using @Generated indexes for both entities, there seem to be no way of achieving

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

Sort of very large objects - out of memory

;This requires a fix, but meanwhile, adding a composite index can solve the problem: @Entity     @ Index (members={"priority", "createTime"})     public static class Message { If there is an index that covers all the fields that are in use in the query and it is much smaller

Errors after unexpected server shutdown

-478d-9176-6aa0e2031470' [2018-03-26 14:39:30 #1097 store] *** Attempt to remove a non existing index ... was recovered from an unexpected shutdown. Unfortunately it seems that one of the indexes (ObjectNode.modified ... from failure should protect data and indexes , so we will have to investigate this further. As

performance issues, database after adding statistics, after doctor

of index entries to iterate over, given an exact key, as the number of total entries in the index ... doubleValue values (keys in the index ), about 120 entries per value, so starting with the doubleValue   index on  doubleValue seems reasonable, based on that statistics. This may work

Server NPE

felixobjectdb Richard Szurgot The stack trace indicates a problem in updating an index , maybe in a new type (or a new index ). If possible, a test case that reproducea this exception will be very helpful. support ... with a server-based database - 2 writing to the db, one reading. I had added an index to a property

ObjectDB 2.7.2

database space after removing an index . Improved error message on attempt to enhance a class in a jar ... . Fixed an  InternalException on some JDO delete queries. Fixed a bug in processing a new index ... with a shared temp directory. Fixed an error message in processing an invalid index . Fixed  index

NullPointerException: Cannot invoke "com.objectdb.o.RFV.S()" because "" is null

Using @ Index for fields and combine this with sorting the query throws an NullPointerException ... ;  @Indices({         @ Index (members = {"children.name"}),         @ Index (members = {"children.age"})   

javax.jdo.annotations.Version

[] extensions default {} Vendor extensions. Since: JDO 2.1 String indexed default "" Whether the version column(s) is(are) indexed . Since: JDO 2.1 VersionStrategy strategy default VersionStrategy.UNSPECIFIED

javax.jdo.annotations.Discriminator

indexed default "" Whether the discriminator is indexed . Since: JDO 2.1 DiscriminatorStrategy strategy

Query.setRange(fromIncl,toExcl) - JDO Method

-based inclusive start index toExcl - 0-based exclusive end index , or {@link Long#MAX_VALUE} for no limit. Since: JDO 2.0

javax.jdo.Query

algorithm is done at the data store. Parameters: fromIncl - 0-based inclusive start index toExcl - 0-based exclusive end index , or {@link Long#MAX_VALUE} for no limit. Since: JDO 2.0 void setResult

javax.jdo.annotations.Indices

JDO Annotation Indices Target: ElementType.TYPE Implemented Interfaces: Annotation Annotation for a group of index constraints. Since: JDO 2.1 Public Annotation Attributes Index [] value default null The indices Since: JDO 2.1

javax.jdo.annotations.Indices.value

JDO Annotation Attribute in javax.jdo.annotations.Indices Index [] value default null The indices Since: JDO 2.1