ObjectDB Database Search

1-23 of 23 results

Query.getParameter(position,type) - JPA Method

JPA Method in jakarta.persistence.Query Parameter getParameter (   int position,    Class  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

Query.getParameter(position) - JPA Method

JPA Method in jakarta.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

Query.getParameter(name) - JPA Method

JPA Method in jakarta.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 Return: parameter

Query.getParameter(name,type) - JPA Method

JPA Method in jakarta.persistence.Query Parameter getParameter (   String name,    Class  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

Query.getParameters() - JPA Method

JPA Method in jakarta.persistence.Query Set 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. Return: set of the parameter objects

CommonAbstractCriteria.getParameters() - JPA Method

JPA Method in jakarta.persistence.criteria.CommonAbstractCriteria Set getParameters () Return the parameters of the query. Returns empty set if there are no parameters. Modifications to the set do not affect the query. Return: the query parameters Since: JPA 2.1

CriteriaQuery.getParameters() - JPA Method

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

Query Parameters in JPA

a set ( getParameters ), and a method for checking if a specified parameter has a value ( isBound

InterfaceRef jakarta.persistence.Query

.0 Parameter getParameter (String name) Get the parameter object corresponding to the declared ... when the implementation does not support this use Since: JPA 2.0 Parameter getParameter (String name ... does not support this use Since: JPA 2.0 Parameter getParameter (int position) Get the parameter

InterfaceRef jakarta.persistence.TypedQuery

of results Inherited from: Query Since: JPA 2.0 Parameter getParameter (String name) Get the parameter ... : Query Since: JPA 2.0 Parameter getParameter (String name, Class  type) Get the parameter ... : Query Since: JPA 2.0 Parameter getParameter (int position) Get the parameter object corresponding

InterfaceRef jakarta.persistence.StoredProcedureQuery

.1 Parameter getParameter (String name) Get the parameter object corresponding to the declared ... getParameter (String name, Class  type) Get the parameter object corresponding to the declared ... getParameter (int position) Get the parameter object corresponding to the declared positional parameter

can not use spring-data-jpa repository with NamedQuery

parameter : query. getParameters ()) { if (parameter.getName() != null) { return true; } } return false; }   but getParameters throws UnsupportedOperationException   java.lang ... ) at com.objectdb.o.OST.F(OST.java:597) at com.objectdb.jpa.JpaQuery. getParameters (JpaQuery.java:555

Step 4: Add a Controller Class

name = request. getParameter ("name"); if (name != null) guestDao.persist(new Guest(name

Step 4: Add a Servlet Class

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

Step 4: Add a Controller Class

(HttpServletRequest request) { // Handle a new guest (if any): String name = request. getParameter ("name

Step 4: Add a Servlet Class

response) throws ServletException, IOException { // Handle a new guest: String name = request. getParameter

Step 4: Add a Servlet Class

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

Step 4: Add a Servlet Class

. getParameter ("name"); if (name != null) { em.getTransaction().begin(); em.persist(new Guest(name)); em

InterfaceRef jakarta.persistence.criteria.CriteriaDelete

corresponding to the given entity Since: JPA 2.1 Set getParameters () Return the parameters

InterfaceRef jakarta.persistence.criteria.CommonAbstractCriteria

of the update or delete. Since: JPA 2.1 Public Methods Set getParameters () Return the parameters

InterfaceRef jakarta.persistence.criteria.AbstractQuery

predicate Since: JPA 2.0 Set getParameters () Return the parameters of the query. Returns empty set

InterfaceRef jakarta.persistence.criteria.CriteriaUpdate

the entity of type X Return: query root corresponding to the given entity Since: JPA 2.1 Set getParameters

ObjectDB 2.2.4

Added support of JPA UPDATE and DELETE queries ( issue #12 ). Added support of pessimistic lock timeout ( javax.persistence.lock.timeout ). Added implementation of the getParameters method. Added exception on pessimistic locking retrieval with no active transaction. Improved support of entity