> You can store connection in ThreadLocal or in request attribute. > It must be trivial to implement and you do not need workarounds. > Use "SessionWrapper" to detect legacy stuff and throw exeption, if some code > tries to put connection to session. > I am sure wokarounds will not help in production.
I am currently working on an simmilar solution for detecting not passed back connections. Thank you for the discussion ... Mario PS.: At least i am currently not convinced, but however there are more important things in life ;-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]