ObjectDB Database Search

1-24 of 24 results

jakarta.persistence.criteria.CommonAbstractCriteria.getParameters()

Jakarta Persistence (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. Returns: the query parameters. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Query.getParameters()

Jakarta Persistence (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. Returns: set

jakarta.persistence.Query.getParameter(String)

Jakarta Persistence (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

jakarta.persistence.Query.getParameter(String,Class)

Jakarta Persistence (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

jakarta.persistence.Query.getParameter(int)

Jakarta Persistence (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

jakarta.persistence.Query.getParameter(int,Class)

Jakarta Persistence (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 Parameters in JPA

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

jakarta.persistence.TypedQuery

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

jakarta.persistence.Query

: maximum number of results. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name ... . Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name , Class type ... . Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( int position ) Get the parameter object

jakarta.persistence.StoredProcedureQuery

an INOUT or OUT parameter. Since: Jakarta Persistence (JPA) 1.0 Parameter getParameter ( String name ... name does not exist. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( String name ... or is not assignable to the type. Since: Jakarta Persistence (JPA) 2.0 Parameter getParameter ( int

jakarta.persistence.criteria.Subquery

) 1.0 Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.criteria.AbstractQuery

(JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.criteria.CommonAbstractCriteria

(JPA) 2.1 Public Instance Methods Set getParameters () Return the parameters of the query. Returns

jakarta.persistence.criteria.CriteriaUpdate

Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.criteria.CriteriaQuery

. Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return the parameters of the query. Returns empty set

jakarta.persistence.criteria.CriteriaDelete

corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0 Set getParameters () Return

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

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