Tuesday, February 7, 2023

Vo do not query while page loading code for voImpl

     int counter =0;

    /**

     * executeQueryForCollection - overridden for custom java data source support.

     */

    protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams) {

     if (counter > 0) {

            super.executeQueryForCollection(qc, params, noUserParams);

        } else {

            counter = counter + 1;

        }

    }  

No comments:

Post a Comment