is it possible to log something like hibernate transaction id? Does a hibernate transaction have a ID? Basically I have to log every transaction it would be great if those had a id.
Hope someone can suggest me a solution :)
I'm using spring 3 mvc, hibernate, hypersonic database开发者_C百科, log4j
When you are using Spring, I assume you also use a Spring transaction manager. You can set log level for org.springframework.transaction
package to INFO
or even DEBUG
to see what is going on.
精彩评论