In my current project at work, we don't work with Transactions directly; it is the application server which pretty much handles that for us. So calling
is all we have to deal with.
In any case, they are intended to perform the same thing, namely synchronize. The description can be found in the section
Flushing the Session of Hibernate Documentation.