Howdy,
Can someone tell me a little bit more about what causes a TransientObjectException??
I have a Persistent Object that has a method to return a collection (the collection is generated by Hibernate due to a mapping table). When i pass this collection (untouched) to a 'session.filter( aCollection, "order by...")' statement, i get a TransientObjectException.
Since i pass the collection straight from the Persistent object's method into the sess.filter() call, why would I get a TransientObjectException ?? I can understand if i tampered with the collection or made up a new (non-persistent) collection....
Could this exception be generated if the collection was returned from a Hibernate call that used a different Session than the session used in "sess.filter()" call ??? This is my last guess at what might be wrong...
thanks for any help,
-jb
|