« Return to Thread: Inserts and Caching

Re: Inserts and Caching

by ossaert :: Rate this Message:

Reply to Author | View in Thread


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

 « Return to Thread: Inserts and Caching