Hello Sir, Good Evening What will happen if the data is updated by application or directly in the Database? Since the data is changed it will fetch from database or still it will get from the first level cache?
Helo u r doing all the editing works in same program which will make us to take the long time to get the point. Do separation programs for different concepts
Once you have already data on object 'a' then why not take from it. Or it might be good if requirement will be in other service or class where object 'a' is not available
Hi Navin, what if I fetch session1 data, change session1 data, then fetch again , will it go to database know I made a change or will it give me the old chached info?
Couldn't understand why I was getting null while returning the value. Finally realized that I forgot to change create -> to update in hibernate.cfg.xml, which was dropping the table in the beginning...
You have done a great job Sir. Thank you for enhancing our knowledge about caching. Very well explained.
nmste fst off all, i hav lern mny thik from u....in hibernate....thanks...shukrya
You’re videos are really good
Nice Explanation... Lovely...
Hello Sir,
Good Evening
What will happen if the data is updated by application or directly in the Database?
Since the data is changed it will fetch from database or still it will get from the first level cache?
Awesome ❤
Helo u r doing all the editing works in same program which will make us to take the long time to get the point. Do separation programs for different concepts
great sir !!!!!!!!
Why you are doing commit, when just fetching the record??
Bro what's the reason behind using transactions here while you are just fetching datas
Once you have already data on object 'a' then why not take from it. Or it might be good if requirement will be in other service or class where object 'a' is not available
if i change the values on data base how first lever cashing know it? and bring me the right value?
Thank you !
Hi Navin, what if I fetch session1 data, change session1 data, then fetch again , will it go to database know I made a change or will it give me the old chached info?
It was good, but try to solve in simple way ,Bcoz beginners are want to know basics.
How do we disable 1st level chache? is it possible?
nice
great explanation but given example is not in sequence :(
Couldn't understand why I was getting null while returning the value. Finally realized that I forgot to change create -> to update in hibernate.cfg.xml, which was dropping the table in the beginning...
changed to update but getting the same error
lol 6 years later this guy still pronounciates "cachEEEE"....