ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
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

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
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

getParameterValue(param)

Method javax.persistence.Query T getParameterValue( Parameter<T> param ) Return the value bound to the parameter. Parameters: param - parameter object Returns: parameter value Throws: IllegalArgumentException - if the parameter is not a parameter of the query IllegalStateException - if the parameter has not been been bound Since: JPA 2.0
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
2

execute(p1)

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

execute()

Method javax.jdo.Query Object execute() Execute the query and return the filtered Collection. Returns: the filtered Collection. Since: JDO 1.0 See Also: executeWithArray(Object[] parameters)
2

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll( Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
2

declareVariables(variables)

Method javax.jdo.Query void declareVariables( String variables ) Declare the unbound variables to be used in the query. Variables might be used in the filter, and these variables must be declared with their type. The unbound variable declaration is a String containing one or more unbound variable

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