Hello,
Seems I get some issue in the following use-case with hibernate:
- have a page that displays some fields from several objects (of same
class), acting like an aggregator
- for each object, some fields are displayed
- for each object, an <iframe> is added, targeting another page that loads
another field from that same object
Maybe for you to visualize better, it's a Topic view (of mail archive),
showing all Mails from a thread, and so displaying common header fields
(from to subject ...), the <iframe> being in charge of displaying the HTML
body of each mail.
It means that for example, if I display 20 mails from this page, there will
be 20 objects accessed from "main" (request) thread, and up to 20 threads
accessing each one of these objects.
What happens is that the following exception occurs in a random (but pretty
frequent) fashion:
Wrapped Exception: Error number 3212 in 3: Exception while loading property
cc of object MailArchiveItems.Mxwiki-devsVOTERetireoldqueryp_16
Wrapped Exception: Session is closed!