ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh


Method javax.persistence.Query boolean isBound( Parameter<?> param ) Return a boolean indicating whether a value has been bound to the parameter. Parameters: param - parameter object Returns: boolean indicating whether parameter has been bound Since: JPA 2.0

execute(p1, p2)

Method javax.jdo.Query Object execute( Object p1, Object p2 ) Execute the query and return the filtered Collection. Parameters: p1 - the value of the first parameter declared. p2 - the value of the second parameter declared. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)


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


Static Field javax.jdo.Constants String OPTION_UNCONSTRAINED_QUERY_VARIABLES "javax.jdo.option.UnconstrainedQueryVariables" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()


Method javax.jdo.Query long deletePersistentAll() Deletes all the instances of the candidate class that pass the filter. Returns the number of instances of the candidate class that were deleted, specifically not including the number of dependent and embedded instances. Dirty instances of affected


Annotation Element javax.jdo.annotations.Query Class resultClass Result class into which to put the results. Returns: the class of the result Default value: void.class Since: JDO 2.1


Method javax.jdo.Query void setOrdering( String ordering ) Set the ordering specification for the result Collection. The ordering specification is a String containing one or more ordering declarations separated by commas. Each ordering declaration is the name of the field on which to order


Method javax.jdo.Query void declareImports( String imports ) Set the import statements to be used to identify the fully qualified name of variables or parameters. Parameters and unbound variables might come from a different class from the candidate class, and the names need to be declared in


Method javax.jdo.Query void setGrouping( String group ) Set the grouping expressions, optionally including a "having" clause. When grouping is specified, each result expression must either be an expression contained in the grouping, or an aggregate evaluated once per group. Parameters: group


Annotation Element javax.jdo.annotations.Query Extension[] extensions Vendor extensions. Returns: the vendor extensions 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