About query

191-200 of 200Refresh
Forum
20

how explorer queries work

i'm curious as to how the explorer is able to execute queries when its obviously not aware ... to execute somewhat generalized queries and i won't know what classes are in the object model ahead ... the classes for running ordinary queries. However, if you use user defined methods in queries (ObjectDB
Forum
20

How to query for list of lists ?

Hi, I have a problem with constructing query, that gets only embedded list of integers from Entity. Here's the example : Query query = em.createQuery("SELECT i.filterDescription FROM Inspiration i"); List> result = query.getResultList(); where Inspiration is like this : @Entity
Forum
20

IMK Stall with certain query

Hello, I am experiencing constant IMK Stall notifications from Java when using certain query ... am sure it is linked with objectdb as these are thrown each time one particular query is used ... query = cb.createQuery(OrderData.class);        Root order = query.from
Forum
20

JPQL query to get entities that does not have a child entity in their child entities

_Started        2105:12:10 14:00:00      004 From these 2 tables I have to query for Jobs having ... entity and using TomEE for deployment. I am using following queries. FINISHED Jobs between a time interval: @NamedQuery( name = "findFinishedJobsBetweenTimeIntervals", query = "SELECT J FROM
Issue
20

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear ... a container the updated Entities. Scenario 1: Disabled L2 Cache, updating elements using UPDATE-Query ... UPDATE-Query, calling entityManger.clear() and fetching Entities afterwards from database. Expected
Issue
20

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able to track down the exact circumstance in which it occurs - saving and querying objects works fine on attempts ... Source) at rbccm.felix.gridservice.admin.dao.SimpleWorkflowInstanceDao.query(Unknown Source
Forum
20

Server closes if large query runs out of memory

:  the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't ... scenario. Regarding a query that returns too many objects, consider limiting the number of result objects. If you must support very large query result sets, check the temp threshold setting. If you reduce
Forum
20

wrong query result

Hi we have a problem with queries, database is returning wrong results. These are the queries we run from ObjectDB explorer. Query 1 - SELECT MAX(e.generisaniID) FROM AktImpl e – returns string (from field e.brojAkta) although field generisaniID is of type long. Query 2 - select e.idRecord, e
Forum
20

java 8 LocalDateTime is not working in query

able to query without datetime field in where clause, but with datetime in where clause doesn't return anything and no exception.       EntityManager em = getInstance().getEntityManger(); Query query = em.createQuery(     "SELECT t FROM Test t WHERE t.date BETWEEN :startDate AND :endDate
Issue
20

Removed entities can be found by query in the same transaction

(). Afterwards the entity can be load again by query although the resulted entity have an attribute ... - one with the deleted object and the other without the deleted object. Apparently the query ... are flushed, a snapshot is generated, and further queries in that transaction uses that snapshot