About member

manual

Collections in JPQL and Criteria Queries

Shows how collections and maps can be used in JPQL queries.... IS [NOT] EMPTY SIZE [NOT] MEMBER [OF] [NOT] IN Criteria Query Collection ... number of languages in that collection. [NOT] MEMBER [OF] The [NOT] MEMBER OF operator checks if a specified ...

 
api-jdo

javax.jdo.annotations.Persistent

Annotation for defining the persistence of a member.(Annotation of JDO)

 
api-jdo

javax.jdo.FetchGroup

FetchGroup represents a named fetch group for a specific class or interface.(Interface of JDO)

 
api-jdo

Index.members

Member (field and property) names that compose this index.(Annotation Element of javax.jdo.annotations.Index)

 
forum_thread

Adding multi part path index on non-embedable object member

Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below.  @Entity public class Customer {     @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private Merchant merchant;       @MapsId     @ManyToOne(fetch = FetchType.LAZY)     private List<Store> stores;     // Setter/Getter ... Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two ...

 
issue

InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: ... Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by : ... + " AS record " + "WHERE property.uid MEMBER OF record.properties AND property.scopeID MEMBER OF ?1" ; ...

 
forum_thread

Possible Bug in MEMBER OF

Hello! I maybe found another bug in version 2.3.3. I'll send you a test DB via support ticket. Try the following query in explorer: SELECT u FROM Unit u WHERE :user MEMBER OF u.users Set user to TrackerUser#8 If i run this quey i get: Invalid operand type at.co.pjm.tracker.persistence.TrackerUser for operator MEMBER OF SELECT u FROM Unit u WHERE :user MEMBER OF u. ==> users <== In my opinion the result should be Unit#4004 ... SELECT u FROM Unit u WHERE :user MEMBER OF u . users Set user to TrackerUser#8 If i run this ... at.co.pjm.tracker.persistence.TrackerUser for operator MEMBER OF SELECT u FROM Unit u WHERE :user MEMBER OF u. ==> users <== ...

 
forum_thread

Unique contraint with 2 members

I am trying to do the following: @javax.persistence.Entity public class Account { @Unique() private String name; @Unique(members={"SalesforceID","sport"}) private String SalesforceID; private String sport; ... } The first Unique contraint works. On commit, an exception is thrown if an Account already exists with the specified name. The second does not seem to work. I would expect an exception to be thrown if the combination of SalesforceID and sport is not unique. Am I doing this right? #1 2011-09-04 05:40 I am trying to do the following: @ javax. persistence . Entity public class Account ...

 
forum_thread

@Unique member combination not working

Why does the below code not enforce unique restrictions?   Person.java #1 2014-09-27 10:29 Why does the below code not enforce unique restrictions?   Person @ Entity ...

 
forum_thread

JSON serialization and __odbHidden members

Hi.. Building a REST API (Jersey-based one) I noticed that object object I serialize to JSON has a clone field with "__odbHidden" suffix, e.g.there's  "id" and "id__odbHidden" is also (unwantenly) present with the same value. In general, we can annotate fields to include/exclude them from JSON serialization, but since these fields are not declared in my classes, I have no idea how to tell marshaller to avoid them. #1 2015-10-30 10:13 Hi.. Building a REST API (Jersey-based one) I noticed that every object I serialize to JSON has a clone f ...