I wish I knew what exactly does each item in this list, how it works, what the consequences and when is the correct time to use.
session.flush() Flushing the session forces Hibernate to synchronize the in-memory state of the Session with the database. session.evict() Detach the object from session cache. After detaching the object from the session, any change to object will not be persisted. session.refresh() Reload all the data. session.replicate() Data is replicated in different Datastore in different modes.