Package org.hibernate.result

Interface Outputs

  • All Known Subinterfaces:
    ProcedureOutputs
    All Known Implementing Classes:
    OutputsImpl,ProcedureOutputsImpl

    public interfaceOutputs
    Represents the outputs of executing a JDBC statement accounting for mixing of result sets and update counts hiding the complexity of how this is exposed in the JDBC API.

    The outputs are exposed as a group ofOutput objects, each representing a single result set or update count. Conceptually, Result presents those Returns as an iterator.

    • Method Detail

      • getCurrent

        Output getCurrent()
        Retrieve the current Output object.
        Returns:
        The current Output object. Can benull
      • goToNext

        boolean goToNext()
        Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call togetCurrent() returnnull?
        Returns:
        true if the next call togetCurrent() will return a non-null value.
      • release

        void release()
        Eagerly release any resources held by this Outputs.