At first: Hi @all, because i'm new here. Now my question: I have some objects in a hibernate-session. This objects can be manipulated by several threads (never competitively). Somtimes i have to change objects whithout saving directly. But if a other thread saves an other object the session will be flushed and all objects are saved. I know, i can evict the object after loading, but if i need to access a persistent child of an evicted object an error is thrown ("No session..."). If i want to evict an object with persitent members i have to evict ALL childs in a recursion or is there a other way to do so?
Thanks for reply, Mark but i think, the problem will not be fixed by using seperate sessions. Per example, if in UI editors are open for different objects and you are changing more than one object: you would like to save one, and all other are saved too. Because i have to use the caching its not a option to use seperate sessions for every object. [ October 25, 2007: Message edited by: Hans-J�rgen W�lchow ]