I have a scenario where I use a read on set of tables in a java service. I've annotated the service class @Transactional.
Is there any possible way to lock the corresponding rows I read, in all the tables I use, in my transaction and release it at the end of transaction ?
Ps: I'm using spring Hibernate, and I'm new to this locking concept. any material/ examples links would be of much help
Thanks