This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
hibernate update in single transcation
org.hibernate.TransientObjectException: object references an unsaved transient instance
TransientObjectException
Update in hibernate
Unable to commit to DB-org.hibernate.TransientObjectException: object references an unsaved transien