posted 10 years ago
I have job with commit interval of 1000.In the writer we are handling some business logic for some of the records(lets say 750 records) and inserting certain records into DB. After inserting 750 records into DB, we need to start processing the remaining 250 records and these 250 records needs the 750 records from DB which are inserted recently(not committed yet as it is in the same commit interval), if we fire a query to Db to get those 750 records along with some other data, will the DB returns those data or it wont be retrieved as its not committed yet.