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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate logging in log4j
 
Similar Threads
TransientObjectException
Update in hibernate
hibernate update in single transcation
org.hibernate.TransientObjectException: object references an unsaved transient instance
Unable to commit to DB-org.hibernate.TransientObjectException: object references an unsaved transien