posted 20 years ago
Hi ,
The confusion was coming becuase I was implementing a repeatable read block even for querying the rooms available. I figured the transaction context needs to be applied only when an update is done.
If another customer comes in while another is browsing the availability of rooms ,then its unfair to block the other customer from booking.
This is how I coded it and it seems that concurrent users can have access to reserve but in this case the first one gets it done. Any way I will let the client worry about it if my implementation is right or wrong. And they can request for the changes, For now this is how I implemented it .
Any ideas.