开发者

Hibernate transaction id logging

开发者 https://www.devze.com 2023-04-05 07:07 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消