I just a hard time trying to enable transactions logging for hibernate. Checked many times and it said the logger name is
org.hibernate.transaction=DEBUG
But not a single logging output is given.
I then dig a bit deeper into the source code. Realized my hibernate version is 4.2.2 (latest doc as of writing this post is 4.2.1) and they seem to have refactored the package name into
org.hibernate.engine.transaction=DEBUG
And yes finally I can see my transactions being logged.