|No Cache Option [message #389456]
||Wed, 10 June 2009 12:47
| Steve Willcox
Registered: July 2009
I have a situation where we are ONLY inserting objects into the database |
and not ever reading them from the application that is creating them. We
will be generating millions of these records per month.
In the short term since no one is yet reading them, it seems to me the
least impact on memory of the application creating them would be to use
NoIdentityMap option for those classes vs WeakIdentityMap. However,
several places in EclipseLink docs it says that NoIdentityMap is not a
recommended option since there is no guarantee of object identity.
So for the case described above, is NoIdentityMap going to save on memory
usage over WeakIdentityMap?
Powered by FUDForum
. Page generated in 0.02725 seconds