i specified the below properties in cfg file.
In my main1 program i create the person with id 1 and commited and made that
thread on hold after commit. Then i start the another thread T2 which is getting ther person with id 1 with below code
when T2 passed above statement, it generate the below query in background
I am not sure why thread T2 reading from database instead of getting it from second level cache as i am using usage as read-write ?
My Mapping looks like