Hi All,
I am new to Hibernate. I am going through Batch processing concepts while reading about this. At the link given below
http://www.hibernate.org/hib_docs/v3/re ... batch.html
There is something specified at article 13.1 batch inserts like
session.flush();
session.clear();
My Ques is..... why are we using both at a time. can we not go for session.clear() only. As per me both are used to clear the session. I want to know that what benefit we are having when using both at same time.
Thanks,
Gopal