This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes handling transient entity in delete processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "handling transient entity in delete processing" Watch "handling transient entity in delete processing" New topic
Author

handling transient entity in delete processing

Kashif Mughal
Ranch Hand

Joined: Jun 19, 2008
Posts: 44
Hi

I am trying to delete record but getting this message from the hibernate;

INFO [org.hibernate.event.def.DefaultDeleteEventListener] - handling transient entity in delete processing

Code is given as follow with stacktrace;

Stacktrace



DeleteFormController


UserServiceDAOImpl


Thanks in Advance,
Kash.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17275
    
    6

Um.

There isn't any exception stack trace there. That Log message is just at the info level, not an error. All it is saying is that there is an object in the collection that has no id set, so therefore no record in the database to delete.

Mark


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handling transient entity in delete processing
 
It's not a secret anymore!