Register now or log in to join your professional community.
I want to refresh Materialized View in my program for which i do not want to wait for the call to get Finish.
you can just use threads to call you view and refersh
try to see executer service
You can create your method to select from db and make it Asynchronous by adding "@Asynchronous" key word befor it . you can make solve your problem by creating method and select each time e.g.20 records and get the number of records first then loop till you reach the max number and appen the records in your structor (table) and when ever your refresh or use ajax to refresh the value automaticly .