Hi,
Looking at the Session API, one notices that it is possible to selectively load, save and delete specific objects. However, the flush() method indiscriminately synchronizes the cache with the underlying database.
This poses problem for the application I'm working on since we would like to be able to flush changes that happened on specific objects only, not all dirty objects found in the cache. Is there a way to accomplish this ? Is there a clear reason why flush() isn't selective, and if not can we expect that it could become selective in future Hibernate releases ?
Thanks in advance for a response,
Louis-Frederic Huppe-St-hilaire
|