James Sutherland wrote:
No flush() does not commit the transaction, only commit() commits the transaction, flush() just writes the SQL to the database, rollback will still rollback everything from the point of the begin().
Ok, but does a flush clear the cache? I.e. will the object up to this point be garbage collected?
Thanks
Jan