ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
26

getParameter(position)

Method javax.persistence.Query Parameter<?> getParameter( int position ) Get the parameter object ... required to be supported for native queries. Parameters: position - position Returns: parameter object ... IllegalStateException - if invoked on a native query when the implementation does not support this use Since: JPA 2.0
26

getParameter(name)

Method javax.persistence.Query Parameter<?> getParameter( String name ) Get the parameter object ... for native queries. Parameters: name - parameter name Returns: parameter object Throws ... - if invoked on a native query when the implementation does not support this use Since: JPA 2.0
26

unwrap(cls)

Method javax.persistence.Query T unwrap( Class<T> cls ) Return an object of the specified type to allow access to the provider-specific API. If the provider's query implementation does not support ... to be returned. This is normally either the underlying query implementation class or an interface
26

NamedQuery.query

Annotation Element javax.persistence.NamedQuery String query (Required) The query string in the Java Persistence query language. Since: JPA 1.0
26

getHints()

Method javax.persistence.Query Map<String,Object> getHints() Get the properties and hints and associated values that are in effect for the query instance. Returns: query properties and hints Since: JPA 2.0
26

getFlushMode()

Method javax.persistence.Query FlushModeType getFlushMode() Get the flush mode in effect for the query execution. If a flush mode has not been set for the query object, returns the flush mode in effect for the entity manager. Returns: flush mode Since: JPA 2.0
2

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
2

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
2

setClass(cls)

Method javax.jdo.Query void setClass( Class cls ) Set the class of the candidate instances of the query. The class specifies the class of the candidates of the query. Elements of the candidate collection that are of the specified class are filtered before being put into the result Collection
2

executeWithMap(parameters)

Method javax.jdo.Query Object executeWithMap( Map parameters ) Execute the query and return the filtered Collection. The query is executed with the parameters set by the Map values. Each Map entry consists of a key which is the name of the parameter in the declareParameters method, and a value

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