need help with fetching the data using the entity

Certified Senior Developer

Hi team i am unable to fetching the data using the query entity,
due to some restrictions i have to use the CDT only so i am using query entity for fetching  the data,
(I want this data for displaying into the read-only grid)
i have 2 tables in DB


1st table having the 42 columns and 26191 rows of data so i am using the below code for fetching the hole data 

a!queryEntity(
entity: cons!1stentity,
query: a!query(
pagingInfo: a!defaultValue(
value: ri!pagingInfo(Type:pagingInfo),
default: a!pagingInfo(startIndex: 1, batchSize: 10)
),


),
fetchTotalCount: true(),

),


but using this code i can able to fetch 21568 rows of data only not able to fetch the whole data,


2nd table having the 8 columns and 389434 rows of data so i am using the below code for fetching the whole data.

a!queryEntity(
entity: cons!2ndentity,
query: a!query(
pagingInfo: a!defaultValue(
value: ri!pagingInfo,
default: a!pagingInfo(startIndex: 1, batchSize: 10)
),


),
fetchTotalCount: true(),

),
From this table i can able to fetch the 389434 
rows of data, i mean i can able to fetch whole data,

anyone help me with this how can i achieve to fetch the whole data from 1st table without losing 

  Discussion posts and replies are publicly visible