This content has been marked as final.
Show 3 replies
-
1. Re: org.hibernate.LazyInitializationException
waynebaylor Jul 25, 2007 9:47 AM (in response to veeseekay)if you're running within an application server, you shouldn't be creating your own threads. the AS performs thread management for you.
your exception is probably because you've started a new thread but haven't properly associated a session with it. -
2. Re: org.hibernate.LazyInitializationException
veeseekay Jul 26, 2007 1:51 AM (in response to veeseekay)hmmm...i am surprised to knw that I am not supposed to create my own threads within the AS...
My situation is that I have to perform some job over the ntw and it cannot be done serially, i need multi threading to speed up the job. -
3. Re: org.hibernate.LazyInitializationException
waynebaylor Jul 26, 2007 1:31 PM (in response to veeseekay)here's an older link that contains some good info:
http://www.theserverside.com/discussions/thread.tss?thread_id=11031
i think the suggestion of using Message Driven Beans is a good one.