Hi all,

I'm not sure if I'm doing something stupid or its a genuine problem but I'm using Springs OSIV filter with Hibernate 3, I have a page that lists my users and I have a DirectLinks to a detail page for each of the listed users which invokes a selectUser listener, this listener takes the id service parameter and retrieves the user. I can cause my app to crash by double clicking on the link, throwing a Hibernate exception "Illegal attempt to associate a collection with two open sessions". Single clicking and waiting works as expected.

I think I understand why this is happening, the session from the first request has not cleaned up before the second is created*. What's the accepted way around this, I'm using loads of pages like this.

Many thanks,

Adam.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to