Fast Object Database for Java - with JPA/JDO support

Internal Website Search

71-80 of 200 resultsRefresh
30

setUnique(unique)

Method javax.jdo.Query void setUnique( boolean unique ) Specify that only the first result of the query should be returned, rather than a collection. The execute method will return null if the query result size is 0. Parameters: unique - if true, only one element is returned Since: JDO 2.0
30

setResultClass(cls)

Method javax.jdo.Query void setResultClass( Class cls ) Specify the type of object in ... or set to null, the result class defaults to the candidate class of the query. If the result consists ... argument is the value from the query result. Portable result classes do not invoke any persistence
30

Query.value

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

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
30

setRange(fromInclToExcl)

Method javax.jdo.Query void setRange( String fromInclToExcl ) Set the range of results to return ... , :to");. The execution of the query is modified to return only a subset of results. If the filter would normally return ... are ignored. An implementation should execute the query such that the range algorithm
30

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
30

setRange(fromIncl, toExcl)

Method javax.jdo.Query void setRange( long fromIncl, long toExcl ) Set the range of results to return. The execution of the query is modified to return only a subset of results. If the filter ... and the remaining 30 results are ignored. An implementation should execute the query such that the range algorithm
30

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
30

Query.language

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

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

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