Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh
30

declareParameters(parameters)

Method javax.jdo.Query void declareParameters( String parameters ) Declare the list of parameters query execution. The parameter declaration is a String containing one or more query parameter ... to a value when the query is executed. The String parameter to this method follows the syntax for formal
30

setParameter(name, value)

Method javax.persistence.Query Query setParameter( String name, Object value ) Bind an argument to a named parameter. Parameters: name - parameter name value - parameter value Returns: the same query ... to a parameter of the query or if the argument is of incorrect type Since: JPA 1.0
30

setFilter(filter)

Method javax.jdo.Query void setFilter( String filter ) Set the filter for the query. The filter ... of the Query; and for all variables there exists a value for which the filter expression evaluates to true ... implementation is allowed to reorder the filter expression for optimization purposes. Parameters: filter - the query filter. Since: JDO 1.0
30

close(queryResult)

Method javax.jdo.Query void close( Object queryResult ) Close a query result and release any ... on it. Iterators associated with the query result are invalidated: they return false to hasNext() and throw NoSuchElementException to next(). Parameters: queryResult - the result of execute(...) on this Query instance. Since: JDO 1.0
30

executeWithArray(parameters)

Method javax.jdo.Query Object executeWithArray( Object... parameters ) Execute the query and return the filtered Collection. The execution of the query obtains the values of the parameters ... of the query. It is then evaluated by the Boolean expression of the filter. The element passes the filter
30

getPersistenceManager()

Method javax.jdo.Query PersistenceManager getPersistenceManager() Get the PersistenceManager associated with this Query. If this Query was restored from a serialized form, it has no PersistenceManager, and this method returns null. Returns: the PersistenceManager associated with this Query. Since: JDO 1.0
30

getFetchPlan()

Method javax.jdo.Query FetchPlan getFetchPlan() Returns the FetchPlan used by this Query. Modifications of the returned fetch plan will not cause this query's owning PersistenceManager's FetchPlan to be modified. Returns: the fetch plan used by this query Since: JDO 2.0
30

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter( Parameter param, Calendar value ... : param - parameter object value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter does not correspond to a parameter of the query Since: JPA 2.0
30

getFirstResult()

Method javax.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result Since: JPA 2.0 Learn how to define and use JPA/JPQL queries in Chapter 4 of the ObjectDB/JPA manual.
30

setParameter(param, value, temporalType)

Method javax.persistence.Query Query setParameter( Parameter param, Date value, TemporalType ... - parameter object value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter does not correspond to a parameter of the query Since: JPA 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