ObjectDB ObjectDB

Internal Website Search

1-10 of 18 resultsRefresh
88

getParameter(name, type)

Method javax.persistence.Query Parameter<T> getParameter( String name, Class<T> type ) Get the parameter object corresponding to the declared parameter of the given name and type. This method is required to be supported for criteria queries only. Parameters: name - parameter name type - type
88

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. This method is not required to be supported by the provider. Parameters: position - position type
88

getParameters()

Method javax.persistence.criteria.CriteriaQuery Set<ParameterExpression<?>> getParameters() Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Returns: the query parameters Since: JPA 2.0
88

getParameters()

Method javax.persistence.Query Set<Parameter<?>> getParameters() Get the parameter objects corresponding to the declared parameters of the query. Returns empty set if the query has no parameters. This method is not required to be supported for native queries. Returns: set of the parameter objects
88

getParameter(position)

Method javax.persistence.Query Parameter<?> getParameter( int position ) Get the parameter object corresponding to the declared positional parameter with the given position. This method is not required to be supported for native queries. Parameters: position - position Returns: parameter object
88

getParameter(name)

Method javax.persistence.Query Parameter<?> getParameter( String name ) Get the parameter object corresponding to the declared parameter of the given name. This method is not required to be supported for native queries. Parameters: name - parameter name Returns: parameter object Throws
60

Query Parameters in JPA

without an expected type. There is also a method for extracting all the parameters as a set (getParameters
5

Step 4: Add a Servlet Class

a new guest: String name = request.getParameter("name"); if (name != null
5

Step 4: Add a Controller Class

): String name = request.getParameter("name"); if (name != null
5

Step 4: Add a Servlet Class

): String name = request.getParameter("name"); if (name != null) { em

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