Interface ProcedureCallImplementor<R>

    • Method Detail

      • getResultList

        default List<R> getResultList()
        Specified by:
        getResultList in interface jakarta.persistence.Query
        Specified by:
        getResultList in interface Query<R>
        Specified by:
        getResultList in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        getResultList in interface jakarta.persistence.TypedQuery<R>
      • getSingleResult

        default R getSingleResult()
        Specified by:
        getSingleResult in interface jakarta.persistence.Query
        Specified by:
        getSingleResult in interface Query<R>
        Specified by:
        getSingleResult in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        getSingleResult in interface jakarta.persistence.TypedQuery<R>
      • setHint

        ProcedureCallImplementor<R> setHint​(String hintName,
                                            Object value)
        Specified by:
        setHint in interface ProcedureCall
        Specified by:
        setHint in interface jakarta.persistence.Query
        Specified by:
        setHint in interface Query<R>
        Specified by:
        setHint in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setHint in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        <T> ProcedureCallImplementor<R> setParameter​(jakarta.persistence.Parameter<T> param,
                                                     T value)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(jakarta.persistence.Parameter<Calendar> param,
                                                 Calendar value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(jakarta.persistence.Parameter<Date> param,
                                                 Date value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(String name,
                                                 Object value)
        Description copied from interface: Query
        Bind a named query parameter using its inferred Type. If the parameter is defined in such a way that the Type cannot be inferred from its usage context then use of this form of binding is not allowed, and Query.setParameter(String, Object, AllowableParameterType) should be used instead
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
        Parameters:
        name - the parameter name
        value - the (possibly-null) parameter value
        Returns:
        this, for method chaining
      • setParameter

        ProcedureCallImplementor<R> setParameter​(String name,
                                                 Calendar value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(String name,
                                                 Date value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(int position,
                                                 Object value)
        Description copied from interface: Query
        Bind a positional query parameter using its inferred Type. If the parameter is defined in such a way that the Type cannot be inferred from its usage context then use of this form of binding is not allowed, and Query.setParameter(int, Object, AllowableParameterType) should be used instead
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
        Parameters:
        position - the position of the parameter in the query string, numbered from 0.
        value - the possibly-null parameter value
        Returns:
        this, for method chaining
      • setParameter

        ProcedureCallImplementor<R> setParameter​(int position,
                                                 Calendar value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setParameter

        ProcedureCallImplementor<R> setParameter​(int position,
                                                 Date value,
                                                 jakarta.persistence.TemporalType temporalType)
        Specified by:
        setParameter in interface ProcedureCall
        Specified by:
        setParameter in interface jakarta.persistence.Query
        Specified by:
        setParameter in interface Query<R>
        Specified by:
        setParameter in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setParameter in interface jakarta.persistence.TypedQuery<R>
      • setFlushMode

        ProcedureCallImplementor<R> setFlushMode​(jakarta.persistence.FlushModeType flushMode)
        Specified by:
        setFlushMode in interface ProcedureCall
        Specified by:
        setFlushMode in interface jakarta.persistence.Query
        Specified by:
        setFlushMode in interface Query<R>
        Specified by:
        setFlushMode in interface jakarta.persistence.StoredProcedureQuery
        Specified by:
        setFlushMode in interface jakarta.persistence.TypedQuery<R>