gavin wrote:
This is not necessarily a mapping problem. This exception often occurs if you try to continue using a session after an exception occurred while loading an object.
What sort of load exceptions can do this? I'm attempting to load a record (via session.load(x,y)) and when that fails (and it does - that is not a problem), I then create a new object to save in the database. So there is an exception, but not a "fatal" one (well, I guess that is from my perspective - I guyess I'm not sure that such a thing wouldn't make hibernate unhealthy).
If that sort of exception (a failied load()) can cause this, is there a proper way to handle a failed load that doesn't invalidate the entire session?
Gerry