ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh

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

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

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 ... {         @Unique(members={"SalesforceID","sport"})         private String SalesforceID = "123";         private String sport = "abc";     } } support Support

JSON serialization and __odbHidden members

. tester15 John The ObjectDB Enhancer adds members to enhanced entity classes ... members. Will it solve the situation that you are currently facing? support Support Yes, it is likely

@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 ... ();             }         }     }     @Entity     @Unique(members = {"name", "surname"})     public static class Person implements

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<String, Macros> testMacros = new

member visiting in jpql

member visiting in jpql

Persisting collection where members are subclasses

Persisting collection where members are subclasses

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<String> q ... an internal ObjectDB error, which is not specifically related to MEMBER OF query. A similar issue was fixed


interface. A fetch group instance identifies the name of the class or interface, the list of members ... member. Fetch groups are updated using methods on this interface. An instance of a class ... with addCategory and removeCategory calls. This category includes all members in the persistent type

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support