There is a Spring batch job with one delete and many inserts within a transaction with isolation level READ_COMMITTED:
delete from TABLE_A;
insert into TABLE_A values (...);
insert into TABLE_A values (...);
...
However, when I tried to select from the DB TABLE_A while the batch job was still running (not yet committed), the select was not blocked by exclusive lock which I expected because there was a full table delete in the transaction. May I know if MariaDB is having some special locking mechanism?