db-jdo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christiaan <christiaan...@hotmail.com>
Subject Spec: retainValues + flush()
Date Mon, 20 Aug 2007 08:48:53 GMT

I have a question about flush() in combination with retainValues. In the
spec it says for retainValues 

"If this flag is set to false, then eviction of transactional persistent
instances takes place at transaction commit."

This does not mention flush(), is this done on purpose? The reason why I ask
is that I was under the impression that flush() can be used to free up
resources if possible, for instance when performing a large transaction. It
would be beneficial for memory usage if already processed objects would
become hollow after flush() is being called.

kind regards,
View this message in context: http://www.nabble.com/Spec%3A-retainValues-%2B-flush%28%29-tf4297510.html#a12232225
Sent from the JDO - User mailing list archive at Nabble.com.

View raw message