I am using Postgres in my spring boot application , I am selecting a record from table and the same record can also be modified by another process.
I was using PESSIM