aspose file tools*
The moose likes Object Relational Mapping and the fly likes Hibernate logging in log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate logging in log4j" Watch "Hibernate logging in log4j" New topic
Author

Hibernate logging in log4j

Vijay Vishwanath
Greenhorn

Joined: Apr 18, 2007
Posts: 7
I'm using Hibernate 3 in my application. I get the following error while committing the transaction:



Is there any way to find out which transient object the AddressEntity is referencing due to which I get the TransientObjectException.
I have set the log level for "log4j.logger.org.hibernate" to TRACE. Which part of the log will tell me that there is some transient object.

Thanks in advance,
Vijay
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate logging in log4j