ObjectDB Database Search
151-200 of 200 resultsjakarta.persistence.criteria.ParameterExpression. Warning: may result in a runtime failure. Inherited from Expression Parameters: type - intended type ... , returning a new expression object. Unlike Expression.as , this method does result in a runtime type | |
jakarta.persistence.TypedQueryReference Jakarta Persistence (JPA) Interface jakarta.persistence.TypedQueryReference Type Parameters: - an upper bound on the result type of the query A reference to a named query declared via the NamedQuery ... () The result type of the query. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.In: may result in a runtime failure. Inherited from Expression Parameters: type - intended type of the expression ... expression object. Unlike Expression.as , this method does result in a runtime type conversion. Providers | |
jakarta.persistence.criteria.CriteriaBuilder.Coalesce cause type conversion: the runtime type is not changed. Warning: may result in a runtime failure ... Expression.as , this method does result in a runtime type conversion. Providers are required to support | |
jakarta.persistence.criteria.Expression changed. Warning: may result in a runtime failure. Parameters: type - intended type ... expression object. Unlike as , this method does result in a runtime type conversion. Providers | |
jakarta.persistence.Tuple.get(int,Class); Class type ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple type - type of the tuple element Returns: value of the tuple element. Throws: IllegalArgumentException - if i exceeds length of result | |
jakarta.persistence.Tuple.get(int) ) Get the value of the element at the specified position in the result tuple. The first position is 0. Parameters: i - position in result tuple Returns: value of the tuple element. Throws: IllegalArgumentException - if i exceeds length of result tuple. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.getResultStream()() Execute a SELECT query and return the query result as a typed Stream . By default, this method delegates ... to provide additional capabilities. Returns: a stream of the results , each of type X , or an empty stream if there are no results . Throws: IllegalStateException - if called for a Jakarta Persistence query | |
jakarta.persistence.TypedQuery.getResultList() Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery List getResultList() Execute a SELECT query and return the query results as a typed List . Returns: a list of the results , each of type X , or an empty list if there are no results . Throws: IllegalStateException - if called | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(int) through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts ... Returns: the result that is passed back through the parameter. Throws: IllegalArgumentException | |
jakarta.persistence.StoredProcedureQuery.getOutputParameterValue(String) through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update ... of the parameter as registered or specified in metadata Returns: the result that is passed | |
jakarta.persistence.criteria.CriteriaBuilder.Case.when(Expression,R) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.Case Case when ( Expression condition , R result ) Add a when/then clause to the case expression. Parameters: result - "then" result value condition - "when" condition Returns: general case expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.Case.when(Expression,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.Case Case when ( Expression condition , Expression result ) Add a when/then clause to the case expression. Parameters: result - "then" result expression condition - "when" condition Returns | |
jakarta.persistence.criteria.CriteriaBuilder.Case.otherwise(R) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.Case Expression otherwise ( R result ) Add an "else" clause to the case expression. Parameters: result - "else" result Returns: expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.Case.otherwise(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.Case Expression otherwise ( Expression result ) Add an "else" clause to the case expression. Parameters: result - "else" result expression Returns: expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when(Expression,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase when ( Expression condition , Expression result ) Add a when/then clause to the case expression. Parameters: result - "then" result expression condition | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.otherwise(R) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Expression otherwise ( R result ) Add an "else" clause to the case expression. Parameters: result - "else" result Returns: expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.otherwise(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase Expression otherwise ( Expression result ) Add an "else" clause to the case expression. Parameters: result - "else" result expression Returns: expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when(C,R) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase when ( C condition , R result ) Add a when/then clause to the case expression. Parameters: result - "then" result value condition - "when" condition Returns: simple case expression. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when(C,Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase when ( C condition , Expression result ) Add a when/then clause to the case expression. Parameters: result - "then" result expression condition - "when" condition | |
jakarta.persistence.criteria.CriteriaBuilder.SimpleCase.when(Expression,R) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder.SimpleCase SimpleCase when ( Expression condition , R result ) Add a when/then clause to the case expression. Parameters: result - "then" result value condition - "when" condition Returns | |
jakarta.persistence.NamedNativeQuery.resultSetMapping The name of a SqlResultSetMapping , as defined in metadata. The named result set mapping is used to interpret the result set of the native SQL query. Alternatively, the elements NamedNativeQuery.entities , NamedNativeQuery.classes , and NamedNativeQuery.columns may be used to specify a result set | |
jakarta.persistence.criteria.CriteriaBuilder.except(CriteriaSelect,CriteriaSelect) which returns the result of subtracting the results of the second query from the results of the first query. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.Query.getResultList() Jakarta Persistence (JPA) Method in jakarta.persistence.Query List getResultList() Execute a SELECT query and return the query results as an untyped List . Returns: a list of the results , or an empty list if there are no results . Throws: IllegalStateException - if called for a Jakarta Persistence | |
jakarta.persistence.Query.getResultStream() a SELECT query and return the query results as an untyped java.util.stream.Stream . By default ... this method to provide additional capabilities. Returns: a stream of the results , or an empty stream if there are no results . Throws: IllegalStateException - if called for a Jakarta Persistence query | |
jakarta.persistence.criteria.CriteriaBuilder.unionAll(CriteriaSelect,CriteriaSelect) which is the union of the given queries, without elimination of duplicate results . Returns: a new criteria query which returns the union of the results of the given queries. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.CriteriaBuilder.intersectAll(CriteriaSelect,CriteriaSelect) which is the intersection of the given queries, without elimination of duplicate results . Returns: a new criteria query which returns the intersection of the results of the given queries. Since: Jakarta Persistence (JPA) 3.2 | |
jakarta.persistence.criteria.AbstractQuery.isDistinct() Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.AbstractQuery boolean isDistinct() Return whether duplicate query results must be eliminated or retained. Returns: boolean indicating whether duplicate query results must be eliminated. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.createQuery(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder CriteriaQuery createQuery ( Class resultClass ) Create a CriteriaQuery object with the given result type. Parameters: resultClass - type of the query result Returns: criteria query object. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaBuilder.construct(Class,Selection...) that is applied to the results of the query execution. If the constructor is for an entity class, the resulting | |
jakarta.persistence.TypedQuery.setFirstResult(int) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setFirstResult ( int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result , numbered from 0 Returns: the same query instance. Throws | |
jakarta.persistence.criteria.Subquery.select(Expression) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Subquery Subquery select ( Expression expression ) Specify the item that is to be returned as the subquery result ... the item that is to be returned as the subquery result Returns: the modified subquery. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.TypedQuery.setMaxResults(int) Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery setMaxResults ( int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance. Throws: IllegalArgumentException | |
jakarta.persistence.EntityManagerFactory.getNamedQueries(Class) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory Map getNamedQueries ( Class resultType ) Type Parameters: - the specified upper bound on the query result types A map keyed by query name , containing references to every named query whose result type | |
jakarta.persistence.EntityManagerFactory.addNamedQuery(String,Query) results , hints, flush mode, lock mode, result set mapping information, and information about stored | |
jakarta.persistence.EntityManagerFactory.callInTransaction(Function) without throwing an exception, the result of the function is returned. If the given function throws ... and the result of the function is returned. If the function does throw an exception, the transaction is rolled | |
jakarta.persistence.EntityManager.createNamedStoredProcedureQuery(String) procedure can be executed. If the stored procedure returns one or more result sets, any result set | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String) procedure can be executed. If the stored procedure returns one or more result sets, any result set | |
jakarta.persistence.EntityManager.createStoredProcedureQuery(String,Class...) must be specified in the order in which the result sets is returned by the stored procedure invocation. Parameters: resultClasses - classes to which the result sets produced by the stored procedure | |
jakarta.persistence.EntityManager.callWithConnection(ConnectionFunction) Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager T callWithConnection ( ConnectionFunction function ) Type Parameters: - the type of result returned by the function - the connection type, usually java.sql.Connection Call the given function and return its result | |
jakarta.persistence.EntityManager.createQuery(String,Class). Parameters: qlString - a Jakarta Persistence query string resultClass - the type of the query result ... to be invalid or if the query result is found to not be assignable to the specified type. Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.EntityManager.createNamedQuery(String,Class). Parameters: name - the name of a query defined in metadata resultClass - the type of the query result ... with the given name or if the query string is found to be invalid or if the query result is found | |
jakarta.persistence.criteria.CriteriaBuilder.exists(Subquery) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaBuilder Predicate exists ( Subquery subquery ) Create a predicate testing the existence of a subquery result . Parameters: subquery - subquery whose result is to be tested Returns: exists predicate. Since: Jakarta Persistence (JPA) 1.0 | |
jakarta.persistence.criteria.CriteriaQuery.orderBy(Order...) results . Replaces the previous ordering expressions, if any. If no ordering expressions are specified, the previous ordering, if any, is simply removed, and results will be returned in no particular | |
jakarta.persistence.criteria.CriteriaQuery.orderBy(List) Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.CriteriaQuery CriteriaQuery orderBy ( List o ) Specify the ordering expressions that are used to order the query results ... , the previous ordering, if any, is simply removed, and results will be returned in no particular order | |
jakarta.persistence.ConnectionFunction.apply(C) Jakarta Persistence (JPA) Method in jakarta.persistence.ConnectionFunction T apply ( C connection ) Compute a result using the given connection. Parameters: connection - the connection to use Returns: the result . Throws: Exception - if a problem occurs calling the connection, usually | |
jakarta.persistence.Query.setMaxResults(int) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Query setMaxResults ( int maxResult ) Set the maximum number of results to retrieve. Parameters: maxResult - maximum number of results to retrieve Returns: the same query instance. Throws: IllegalArgumentException | |
jakarta.persistence.Query.getMaxResults() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int getMaxResults() The maximum number of results the query object was set to retrieve. Returns Integer#MAX_VALUE if Query.setMaxResults was not applied to the query object. Returns: maximum number of results . Since: Jakarta Persistence (JPA) 2.0 | |
jakarta.persistence.Query.setFirstResult(int) Jakarta Persistence (JPA) Method in jakarta.persistence.Query Query setFirstResult ( int startPosition ) Set the position of the first result to retrieve. Parameters: startPosition - position of the first result , numbered from 0 Returns: the same query instance. Throws | |
jakarta.persistence.Query.getFirstResult() Jakarta Persistence (JPA) Method in jakarta.persistence.Query int getFirstResult() The position of the first result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query object. Returns: position of the first result . Since: Jakarta Persistence (JPA) 2.0 |