About member

11-20 of 194Refresh
Forum
23

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 ... and Store class has the corresponding fields. e.g.  @Entity @Indices({ @Index(members={"merchant
Issue
23

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 ... " + "WHERE property.uid MEMBER OF record.properties AND property.scopeID MEMBER OF ?1"; TypedQuery q ... , which is not specifically related to MEMBER OF query. A similar issue was fixed a few years ago
Manual
23

GROUP BY and HAVING clauses

that currency: SELECT c.currency, SUM(c.population) FROM Country c WHERE 'Europe' MEMBER OF c ... c WHERE 'Europe' MEMBER OF c.continents GROUP BY c.currency HAVING COUNT(c) > 1 The HAVING ... : SELECT SUM(c.population), AVG(c.population) FROM Country c WHERE 'English' MEMBER OF c.languages
Forum
22

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 ... .TrackerUser for operator MEMBER OF SELECT u FROM Unit u WHERE :user MEMBER OF u. ==> users <== In my opinion
Forum
21

@Unique member combination not working

Why does the below code not enforce unique restrictions?   Person @Entity @Unique(members = {"name", "surname"}) public class Person implements Serializable {     @Id     @GeneratedValue ...     @Unique(members = {"name", "surname"})     public static class Person implements Serializable
Forum
21

JSON serialization and __odbHidden members

. The ObjectDB Enhancer adds members to enhanced entity classes, but most of the additions ... an XmlTransient annotation automatically to these added members. Will it solve the situation
Forum
21

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 ... (members={"SalesforceID","sport"})         private String SalesforceID = "123";         private String sport = "abc";     } } FastModel
Forum
21

Query with MEMBER OF on hash map values

Hello, we want to execute following query: SELECT tc FROM TC tc WHERE ?1 MEMBER OF tc.testMacros.values() But we get an internal ObjectDB exception. It is possible to implement a query for this case at all?   @Entity public class TC { @OneToMany Map testMacros
Forum
20

member visiting in jpql

member visiting in jpql
Forum
20

Persisting collection where members are subclasses

Persisting collection where members are subclasses