I have read more information about these commands but didn't understand exactly what a right way to use these commands?.
I want to discover deeply the difference between clear(), evict() and close() methods in details. As I know evict() will clear particular object from session in hibernate and clear() will clear all objects from session.
How to use them correctly? Thanks