ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
240

Index Definition

Querying without indexes requires iteration over entity objects in the database one by one. This may take a significant amount of time if many entity objects have to be examined. Using proper indexes ... . Index management introduces overhead in terms of maintenance time and storage space, so deciding
17

JDO Annotations for Index Definition

The following annotations are used to define indexes on persistent fields: The Index Definition section of the ObjectDB manual explains these annotations in details.
7

[ODB1] Chapter 4 - JDO Metadata

identity supported by ObjectDB. To enforce unique values in a field you can define a unique index as ... only in index declarations, as explained in the next section. 4.5 Index Definition Querying a large extent without indexes may take a significant amount of time because it requires iteration
6

javax.jdo.annotations.Index

javax.jdo.annotations Annotation Index Target: Classes and fields (including property get methods) Annotation for a database index. Used for database schema generation to create indexes. Corresponds to the xml element "index". Since: JDO 2.1 Column[] columns Columns that compose this index. Columns
5

Index.table

Annotation Element javax.jdo.annotations.Index String table Table for the index. This is needed iff annotating a type where the index is not defined on the primary table for the type. Returns: the table on which the index is defined Default value: "" Since: JDO 2.1
5

Version.indexed

Annotation Element javax.jdo.annotations.Version String indexed Whether the version column(s) is(are) indexed. Returns: whether the version column(s) is(are) indexed Default value: "" Since: JDO 2.1
5

Join.indexed

Annotation Element javax.jdo.annotations.Join String indexed Whether the join column is indexed. Returns: whether the join column(s) is(are) indexed Default value: "" Since: JDO 2.1
5

Join.index

Annotation Element javax.jdo.annotations.Join String index The name of the index to generate. Returns: the name of the index Default value: "" Since: JDO 2.1
5

Discriminator.indexed

Annotation Element javax.jdo.annotations.Discriminator String indexed Whether the discriminator is indexed. Returns: whether the discriminator is indexed Default value: "" Since: JDO 2.1
5

Element.index

Annotation Element javax.jdo.annotations.Element String index The name of the index to generate. Returns: the name of the index Default value: "" Since: JDO 2.1

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