Interface ICommand2

  • All Superinterfaces:
    com4j.Com4jObject, ICommand, IParam

    public interface ICommand2
    extends ICommand
    For HP use. Represents a database command.
    • Method Detail

      • executeQuery

        com4j.Com4jObject executeQuery​(int limit,
                                       com4j.Holder<java.lang.Integer> pintTruncationStatus,
                                       @DefaultValue("0")
                                       boolean synchronous)

        Executes the query in the CommandText property and returns the limit status. The status is either limit not reached or the kind of limit that was reached.

        Parameters:
        limit - Mandatory int parameter.
        pintTruncationStatus - Mandatory Holder parameter.
        synchronous - Optional parameter. Default value is false
        Returns:
        Returns a value of type com4j.Com4jObject
      • cancel

        void cancel()

        Cancels execution of the ExecuteQuery command.