ObjectDB ObjectDB

Internal Website Search

141-150 of 200 resultsRefresh
10

setParameter(position, value, temporalType)

Method javax.persistence.Query Query setParameter( int position, Date value, TemporalType ... value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
10

setParameter(position, value)

Method javax.persistence.Query Query setParameter( int position, Object value ) Bind an argument ... query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query or if the argument is of incorrect type Since: JPA 1.0
10

setParameter(position, value, temporalType)

Method javax.persistence.Query Query setParameter( int position, Calendar value, TemporalType ... - position value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if position does not correspond to a positional parameter of the query
10

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
10

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter( String name, Calendar value, TemporalType ... name value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
10

setParameter(name, value, temporalType)

Method javax.persistence.Query Query setParameter( String name, Date value, TemporalType ... value - parameter value temporalType - temporal type Returns: the same query instance Throws: IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or if the value argument is of incorrect type Since: JPA 1.0
10

getParameter(position, type)

Method javax.persistence.Query Parameter<T> getParameter( int position, Class<T> type ) Get the parameter object corresponding to the declared positional parameter with the given position and type ... on a native query or Java Persistence query language query when the implementation does not support this use Since: JPA 2.0
10

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
1

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
1

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

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