ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh
26

setMaxResults(maxResult)

Method javax.persistence.Query Query setMaxResults( int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0
26

setFirstResult(startPosition)

Method javax.persistence.Query Query setFirstResult( int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result, numbered from 0 Returns: the same query instance Throws: IllegalArgumentException - if the argument is negative Since: JPA 1.0
26

getMaxResults()

Method javax.persistence.Query int getMaxResults() The maximum number of results the query object was set to retrieve. Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object. Returns: maximum number of results Since: JPA 2.0
2

compile()

Method javax.jdo.Query void compile() Verify the elements of the query and provide a hint to the query to prepare and optimize an execution plan. Since: JDO 1.0
2

Query.unique

Annotation Element javax.jdo.annotations.Query String unique Whether the query returns a single unique result. Returns: whether the query returns a single unique result Default value: "" Since: JDO 2.1
2

Query.value

Annotation Element javax.jdo.annotations.Query String value The query string (mandatory) Returns: the query string Since: JDO 2.1
2

Query.unmodifiable

Annotation Element javax.jdo.annotations.Query String unmodifiable Whether the query is unmodifiable. Returns: whether the query is unmodifiable Default value: "" Since: JDO 2.1
2

Query.name

Annotation Element javax.jdo.annotations.Query String name Name of the query (mandatory) Returns: the name of the query Since: JDO 2.1
2

Query.language

Annotation Element javax.jdo.annotations.Query String language The query language Returns: the query language Default value: "JDOQL" Since: JDO 2.1
2

setUnmodifiable()

Method javax.jdo.Query void setUnmodifiable() The unmodifiable flag, when set, disallows further modification of the query, except for specifying the range, result class, and ignoreCache option. The unmodifiable flag can also be set in metadata. Since: JDO 2.0

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