I have started learning Hibernate and have a basic question.
What is the difference between save(String entityName, Object object)
and save(Object object)
in the org.hibernate.Session
class.
Basically I want to know what the entityName
parameter is in this overloaded method.
I tried to look at the API but didn't glean much from there.