Re: [Dev] Dynamic Max Records on DSS

2018-10-11 Thread Sangeeth Karunaratne
Hi Junior,

The Max Rows property can only be set at deploying time of a data service ,
it is not possible to change the property at runtime.

On Thu, Oct 11, 2018 at 1:34 AM Júnior  wrote:

> Hello,
>
> I have a DSS Service that calls a stored procedure and this procedure can
> return a huge result set 10k+ records. I saw in the documentation we can
> set Max Rows property in the query to control how many records it will
> return.
>
> Is it possible to define this property in runtime, I mean by passing
> parameter to the service that would be used in the configuration? Or this
> is possible only by redeploying the service?
>
> Thanks,
> --
> Francisco Ribeiro
> *SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Best Regards,
*Sangeeth Karunaratne*
Software Engineering Intern
WSO2
+94767031534
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Dynamic Max Records on DSS

2018-10-10 Thread Júnior
Hello,

I have a DSS Service that calls a stored procedure and this procedure can
return a huge result set 10k+ records. I saw in the documentation we can
set Max Rows property in the query to control how many records it will
return.

Is it possible to define this property in runtime, I mean by passing
parameter to the service that would be used in the configuration? Or this
is possible only by redeploying the service?

Thanks,
-- 
Francisco Ribeiro
*SCEA|SCJP|SCWCD|IBM Certified SOA Associate*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev