Home » Search

About member

141-150 of 191Refresh
Forum
2

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state ... of the fields in the composite index: @Index(name="ssst",members={"state","subType","type", "startDate ... less useful, unless startDate is last. the sequence of the index members is the key, thanks hgzwicker
Forum
2

em.flush(); em.clear(); loosing data and not persisting managed objects

> member="addDate" memberType="java.util.Date" id="0 ... "> <member exp="$1.addDate" type="java.util.Date" var="1" directVar="0" ext="1 ... ="java.util.Date" var="1" directVar="0" ext="1"> <member exp="$1.addDate" type
Forum
2

Error during cascaded merge

({     @Index(members = {"lastPosition.receiveTime"}),     @Index(members = {"lastMovingPosition ... () {         return channelConfigurationSets;     } ... } @Entity @Index(members = {"unit", "configDate
Forum
2

Error using query with MAX() function

> member="addDate" memberType="java.util.Date" id="0" /> <member exp ... " directVar="0" ext="1"> <member exp="$1.addDate" type="java.util.Date" var="1
Forum
2

JPA query of a Set of terms

WHERE si.term MEMBER OF :terms",     Page.class); query.setParameter("terms", terms); I am afraid ... > query = em.createQuery( "SELECT DISTINCT p FROM Page p " + "WHERE :t1 MEMBER OF p.terms AND :t2 MEMBER OF p.terms", Page.class); query.setParameter("t1", t1).setParameter("t2", t2
Forum
2

Multi part paths in a composite index must have the same length

(members={"tStamp.value", "instrumentId"}) public class OBN implements Serializable{     private ... must have the same length. Therefore, the following index definition is invalid: @Entity @Index(members ... ();                 em.close();         emf.close();     }     @Entity     @Index(members
Forum
2

Query to search for common elements in two separate collections.

I'm trying to work out the most efficient way to build a query that can compare two collections for identical members. Something like: SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER ... .someCollection e WHERE e MEMBER OF :someCollection That worked great, thanks! bensteele
Forum
1

100% CPU when using multiple BETWEEN

Hi, we are evaluating ObjectDB 2.5.1_03 in embedded mode. We have a DB of about 2800 instances of a class that has two java.lang.String members: toExtension and fromExtension. There are other members in the class, but not relevant to the problem.   A query like this causes the java process to start
Forum
1

can removing an entity throw an exception if the entity is in use?

something like: SELECT DISTINCT b FROM A a, B b WHERE a = b.a OR a MEMBER OF b.list ... The query ... is simpler: SELECT DISTINCT b FROM B b WHERE :a = b.a OR :a MEMBER OF b.list ...   FastModel
Forum
1

Exception after update of indices of Entity class

: @Indices ({     @Index (members = {"recurrence.recurringEvent"}),     @Index (members