Hello to everybody,
I have a problem saving an object into the db while processing a loop.
The last object of that loop is never saved. It is no problem of the loop, because I checked with debbugging output whether session.save() and session.flush() is called or not. It is called every time.
After every save()-call I call session.flush() to ensure persistence in DB. Nevertheless the last object remains unsaved...
I also put a session.connection.commit() instead of/in addition to flush(), but it has no effect.
Are there any problems with longlasting/unfinished sessions?
Does anybody know an answer to that problem?
Hibernate version:2.1.2
I am using FireBird 1.5 DB
Thank you,
matze
|