ObjectDB ObjectDB

Internal Website Search

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

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll( Object... 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

Query.SQL

Static Field javax.jdo.Query String SQL The string constant used as the first argument to PersistenceManager.newQuery(String,Object) to identify that the created query should use SQL semantics. This is only meaningful for relational JDO implementations. If this is used, the Object argument
2

addExtension(key, value)

Method javax.jdo.Query void addExtension( String key, Object value ) Add a vendor-specific extension to this query. The key and value are not standard. An implementation must ignore keys that are not recognized. Parameters: key - the key of the extension value - the value of the extension Since: JDO 2.0
2

Constants.OPTION_QUERY_SQL

Static Field javax.jdo.Constants String OPTION_QUERY_SQL "javax.jdo.query.SQL" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
2

setCandidates(pcs)

Method javax.jdo.Query void setCandidates( Collection pcs ) Set the candidate Collection to query. Parameters: pcs - the candidate Collection. Since: JDO 1.0
2

setCandidates(pcs)

Method javax.jdo.Query void setCandidates( Extent pcs ) Set the candidate Extent to query. Parameters: pcs - the candidate Extent. Since: JDO 1.0
2

isUnmodifiable()

Method javax.jdo.Query boolean isUnmodifiable() The unmodifiable flag, when set, disallows further modification of the query, except for specifying the range, result class, and ignoreCache option. Returns: the current setting of the flag Since: JDO 2.0
2

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

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