DEV Community

Rathna Kumar K
Rathna Kumar K

Posted on

Hibernate Evict is not evicting the object


My scenario is to evict the object from the hibernate primary cache. so that i can get the fresh object whenever i call the same query. i have tried evict(Obj) in my call. but still i am receiving the old object. below are my code snippet

Person Object for mapping…

Top comments (0)