0

I read multiple threads but I didn't get the answer to why we need to use @Transaction attribute for the select query.

Assume we don't have any other DDL statements just plain select statements which read data and displays on UI.

Transaction attribute provides isolation, so If I don't use @Transaction attribute it may possible it will show me the most recent data which will be good, isn't it?

Could you please provide me any reference article link , share your knowledge, pros and cons for only @Transaction use with Select statements.

James Z
  • 12,209
  • 10
  • 24
  • 44
Jordan
  • 193
  • 3
  • 12

0 Answers0