ObjectDB Database Search

101-150 of 200 results

Need help to make this test work and define proper annotations for entities Lists

;  System.out.println(" order .name: "+ord.customer.name);        ... ;       System.out.println("result. order .name: "+query.getResultList ... message: order .name: customer name Exception in thread "main" [ObjectDB 2.x] SELECT ord FROM  == OrderF

Date field Index is corrupted due to time change

move. ObjectDB organizes data in BTree structures. A BTree is always ordered by a key. The Doctor messages indicate that this order was broken in several BTrees (apparently BTrees that contain time based

Queries are slow on a large database

; logTestRunId , then ordering the results may be the problem, since to return the first 25 objects, all the objects have to be retrieved. For diagnosis please try the same query without the ORDER BY clause ... can be the solution for this specific query, because results can be ordered by the index rather than by

Issue with alias

Alexander Adam A result alias can only be used in the ORDER BY clause of the query (and after query execution in managing result elements using Tuple ). This is because the real order of query clauses is:     FROM - WHERE - GROUP BY - HAVING - SELECT - ORDER BY and you cannot use an element before it is defined.   support Support

Sorting problem

with QueryData. There is a simple query with " order by" sentence:     List prodList ... ;     q = "select br from Branch br ORDER BY ?1 DESC";      ... = "select br from Branch br ORDER BY br.id DESC"; icQuery = em.createQuery(q, Branch.class

100% CPU when using multiple BETWEEN

((r.fromExtension BETWEEN '2010' AND '2099') OR (r.fromExtension BETWEEN '2001' AND '2002'))) ORDER ... ' AND '2099')) OR ((r.fromExtension BETWEEN '2010' AND '2099'))) ORDER BY r.startDate DESC, r.startTime ... Andonov We have to reproduce this in order to understand the bug and fix it. Could you share

Out of memory

management changes - on order to verify that the new problems are caused by the new changes. support ... the same order as in our software that lead to Exception. I can't however reproduce this part of exception ... may be queries that return a lot of data, as well as queries that use GROUP BY and ORDER BY, in

Retrieve latest entry in a time-series

;  jshaffstall Jay Shaffstall The easiest solution is to order the results by date in descending order :     SELECT FROM MyEntity e WHERE ... ORDER BY e.date DESC Then you can run

Query perfromance problem

; if (isAscending) {     q = "select prod from Product prod order by prod." + sortColumn + " ASC";    } else {     q = "select prod from Product prod order by prod ... with paging order in given way. Now, when running this query with sort column set to 'id', it takes

JPA inheritance issue with ObjectDB - Field not found in type error

" + " from Vtm vtm " + " where vtm.retired=:ret " + " order by vtm.name"; When I try to run ... " + " where vtm.retired=:ret " + " order by vtm.name"; System.out.println("JPQL: " + jpql); Map m

Issue with upper?

Hi, Query 1: SELECT DISTINCT $1, $2.lastName AS $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY UPPER($2.lastName) Correctly returns ... $O0 FROM com.lexware.vereinsverwaltung.verein.mitglied.Mitglied $1 LEFT JOIN $1.profile $2 ORDER BY

Optimization Question

has been modified. Still, you will have to manage the object IDs in order to merge a graph of objects that use ... together and they get persisted to the database in the wrong order causing a period of time where the current set

Is it possible to remove parent/child entities without refresh?

We have a big entity object tree in our project. If I use the entityManager.remove(childEntity) method to remove a child entity a entityManager.refresh(parentEntity) is necessary in order ... order to understand the problem, could you please explain in which way data in memory is not up to date

ObjectDB Clustering VS Hadoop Hbase

, how to define a priory order for visiting a slave than a master? For the reading balance, one may want ... using composite urls the order of the urls defines the connection priority. No need to restart

Problem with @OrderBy

When I use @OrderBy and supply multiple order fields I get and error when ObjectDB Explorer expands a instance of the entity. Example code: @Entity @Table(name="Defects", schema = "myDB") public ... owner.defect inverse WHERE inverse = ?1 ORDER BY owner.seqRel, == noteSeq

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

than String UID primary keys. The main reasons for this ( ordered from the most important): Automatic ... of objects are organised and stored under that order , indexes are usually smaller. Back to primary

Updating Entities

ORDER BY lastName, firstName, department.name, paygrade.rate"; return (ArrayList ) Main.employeeDB ... ("SELECT FROM Paygrade ORDER BY rate", Paygrade.class); TypedQuery modifyTo = Main.paygradeDB

Updating existing persistence entries

?) in order for the update to take effect. It would be simpler to use the managed entity objects as ... , in order to close the database file properly. In an ordinary application you may consider setting a shutdown hook for this purpose. support Support

Schema Evolution Question

schema. support Support I followed these steps in the prescribed order . Stop old client application ... , and the final goal is to support schema changes with no need to restart at all. In order to investigate

slow performance for a complex query

). This is due to the execution order of query components, according to Explorer it retrieves all organisations twice ... ObjectDB. Is there any other way to specify execution order of query components for a complex query like

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

. Everything works fine until packets arrive with a time difference in the order of microseconds. Every scala ... When the traffic comes in bursts (packets arrive with a time difference in the order of microseconds

possible index required for improving query performance

; BaseObject . an index on party in Relationship (or switch the order of party and relationshipType ... third element, so the order of elements in a composite index makes a difference. support Support Hi, I've

@ElementCollection of type enum

, therefore any modification of the order alters all entities in the DB. Mention: I have seen this bug by ... ;@ElementCollection(fetch = FetchType.EAGER) containing enums should be order independent. Thanks. zmirc

JPQL JOIN FETCH Error

for type ch.ethz.id.wai.doi.bo.Metadata John johnbrush John Brush More details are required in order to understand the problem. Is there a sample database that you can upload in order to show the 

hard limits, best practises

Hello there, Just wanted to know what are the limits (128TB) for a single instance. is sharding/clustering possible to increase this limit also what is the best way to design a db (what order ... . also what is the best way to design a db (what order of following points)? Please be more specific and use

Dependency from enhanced classes to the objectDB library

projects you will still need one class loader that can load all the entity classes in order to set ... that demonstrates the issue is needed in order to explore it. support Support I want to upload

@OrderColumn issue

mapped by) order is preserved by ObjectDB automatically with no need for an order field. support

ObjectDB 2 has been released and is now more affordable

Today, after years of hard work, ObjectDB 2.0 was released and is available for download. In addition, in order to make ObjectDB more affordable, the pricing model was changed: The prices ... for all 2.x versions. Private priority support will be sold separately in order to make ObjectDB

Unexpected query token 'KEY'

.customProperties cp WHERE KEY(cp) = :propertyName AND VALUE(cp) = :propertyValue ORDER BY td.createdTimeMillis I ... .get(:propertyName) = :propertyValue ORDER BY td.createdTimeMillis support Support Thanks

Is there a function of "drop table" or "delete from table"?

to the allocate method in order to reset the current value. It will work only if the ID is still a 32 ... ; posting instructions  and use separate threads for unrelated topics. This is essential in order

ClassCastException of same object type

so that different types of storage are possible in order to allow previous data to still be read from csv files

Jboss 6 persistence.xml startup error

, except that JPA and JTA classes are excluded. This is required in order to avoid class collision 

Removing objects where ManyToMany relationships exist

is required in order to retrieve the content of a collection. support Support

mapping file is not being loaded

Hi, I am evaluating ObjectDB by using it with an in-house developed library in order to prototype its capabilities / performance. I am having a problem in that the in-house library in question reads a simple configuration file to determine available persistence units, and then bootstraps

Pessimistic Lock Timeouts setting

the adaptor itself. In order to avoid any clash between the updater threads of the processor bean

Replaying recorded requests...

then it should be located in the parent directory. In order to use the same objectdb.conf file

Possible cause for "Enhancement of type ... is old and cannot be used"

in build 2.6.6_08 and then integrated into version 2.6.7 (note the version order is: 2.6.6 = 2.6.6

Database is erased after deploying a new web application version

"). What can I in order to make sure the servlet is configured properly (assuming

EntityManagerFactory objects being locked during EntityManager creation

this behavior is not trival, as it would change the order of locks, which must be preserved

Trouble viewing db in Explorer.

is DEBUG, in order to track searching for classes). If possible, please publish a database file that demonstrates the problem. support Support

Cross-platform license

work properly. Please fill a support ticket  with your computer and operating system details, in order to solve this issue. support Support

Get database schema from objectDB file

I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support

queries under 2.7.6_4 significantly slower than under 2.7.6

.classIdentifier='(TC)')). [Step 1b] Order the results of step 1a by:   v$1. [Step 1c] Scan index com.agile ... )')). [Step 1d] Order the results of step 1c by:   v$1. [Step 1e] Merge the results of steps 1b

Internal Exception during query execution

.Contact $1 ORDER BY $O0 (Use one of my previous dbs)   tested with _08 as this worked perfect previously.. alex quasado Alexander Adam Note: Without order by works perfectly: SELECT DISTINCT $1

Slow query due to scanning multiple indexes

of both indexes and merges the results, which is orders of magnitude slower (30-50 ms): SELECT p FROM ... that satisfy: (p.rackOID='826268'). [Step 3] Order the results of step 2 by: p. [Step 4] Merge

Problem using "and" for joined entities and indexed fields

above. You are right that scanning all the children of "candidate parents" in order to filter by names again (in order to check ages) may be faster than a full scan of all the parents

Logical "or" works not correcly when field is @Id and first position

the order : @Id         String b; @Id         String a; the code outputs: 2 What is wrong? I'm afraid that the order of @Id

Sort of very large objects - out of memory

indexes: SELECT m FROM Message m ORDER by priority DESC, createTime could even be faster if both sort ... the priority values, in a way that lower values are picked first using: SELECT m FROM Message m ORDER by priority, createTime support Support

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

and c.name = 'Foo' order by name", Parent.class).getResultList().size());      ... and c.name = 'Foo' order by p.name   support Support Checking this further, although using name

Best practice for history tracking

We would like to add to records start and end timestamp fields. When end field is null, it indicates the last version of this item. Few questions: in terms of performance, what would be faster, having a single timestamp and looking for the top1 when ordered by time or the above solution, looking