ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
37

Index Definition

in the members attribute of the @Index or @Unique annotations: @Entity @Index(members={"lastName ... ; } When indexed fields are specified explicitly in the members attribute, as shown ... ({ @Index(members={"lastName","firstName"}), @Index(members={"firstName"}, unique="true
29

Collections in JPQL and Criteria Queries

of languages in that collection. [NOT] MEMBER [OF] The [NOT] MEMBER OF operator checks if a specified element is contained in a specified persistent collection field. For example: 'English' MEMBER OF c.languages is TRUE if languages contains 'English' and FALSE if not. 'English' NOT MEMBER OF c.languages
26

Multiple MEMBER OF query

can find an item that have one label: SELECT i FROM Item i WHERE :label MEMBER OF item.labels I can select items with any of several labels: SELECT i FROM Item i WHERE :label1 MEMBER OF item.labels OR :label2 MEMBER OF item.labels But when I search for an item that have two specific labels, the following
7

PersistenceCapable.members

Annotation Element javax.jdo.annotations.PersistenceCapable Persistent[] members Member declarations. Annotations for persistent members of this class or interface can be specifed either here or on each member. Annotations for inherited members can only be specified here. Returns: member declarations Default value: {} Since: JDO 2.1
7

FetchGroup.members

Annotation Element javax.jdo.annotations.FetchGroup Persistent[] members Members (fields and properties) of the fetch group. The members should contain only name and recursionDepth. Returns: members for the fetch group Since: JDO 2.1
7

ForeignKey.members

Annotation Element javax.jdo.annotations.ForeignKey String[] members Member (field and property) names that compose this foreign key. Returns: the member names that compose this foreign key Default value: {} Since: JDO 2.1
7

Index.members

Annotation Element javax.jdo.annotations.Index String[] members Member (field and property) names that compose this index. Returns: member names that compose this index Default value: {} Since: JDO 2.1
7

Embedded.members

Annotation Element javax.jdo.annotations.Embedded Persistent[] members Members for this embedding. Returns: the members embedded in the field or property being annotated Default value: {} Since: JDO 2.1
7

Unique.members

Annotation Element javax.jdo.annotations.Unique String[] members Member (field and property) names that compose this unique constraint. Returns: member names that compose this unique constraint Default value: {} Since: JDO 2.1
3

javax.jdo.annotations.Persistent

) Annotation for defining the persistence of a member. This corresponds to the xml elements "field ... String column Column name where the values are stored for this member. Column name where the values are stored for this member. Returns: the name of the column Default value: "" Since: JDO 2.1 Column

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