I am using hibernate in desktop application.
I want to fresh data from database every time.
I want to disable primary cache of hibarnate, how can i do this?
I want to bypass cache, means when session goto fatch data through get method at that time it's not tuch the cach. Session.Refresh only fatch property into the db but Iset is not refreshing (means data is not comming into the db, it's comming into the cache). if you have any sugg. reagring that then ls send to me.