aspose file tools*
The moose likes Object Relational Mapping and the fly likes collection was processed twice by flush() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "collection was processed twice by flush()" Watch "collection was processed twice by flush()" New topic
Author

collection was processed twice by flush()

Gajen Pingalkar
Ranch Hand

Joined: Aug 29, 2006
Posts: 37
When User Select One Item from ListBox And Scroll down fastly on same ListBox , that time at server side i am getting this error message,
"net.sf.hibernate.AssertionFailure: collection was processed twice by flush()"
Please suggest, to avoid this error. Any code snipets are always welcome.

-Gajendra
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

I am a little confused how something the user does on the client side affects the server side? Is there any code in the dropdown listeners that while the user is interacting with it, it calls the server?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

And sometimes I am seeing your name as "Gazy" and sometimes your full real name. Please keep it at your full real name as that is what the JavaRanch Naming Policy requires.

Thanks

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: collection was processed twice by flush()