Hello All,
I am using Hibernate 3.2.6
So I have a Container with a collection of Items.
The user retreives his Items from database on restarting an old conversation. (session-per-conversation approach)
In the process he adds more Items, which are transient.
Now When I call session.refresh(Container container)
it gives an UnresolvableObjectException as it also tries to refresh some of the transient Items.
How Can I tell Hibernate not to refresh transient instances to avoid exception!
OR
What could be an Alternative Approach (think in terms of 10000s of Items)
Thanks much
kashyup
|