@cache [message #1697291] |
Tue, 02 June 2015 19:17  |
Eclipse User |
|
|
|
Greetings,
My entities are mapped to oracle 12c database. The client needs to check for objects in the incoming stream with the existing ones in the DB. I am doing a getDestDim.Findall() to get the list of result set from DestDim table in the DB.
How can I use cache here and to pre-fetch the result and just query the cache.
Going though the doc, I noticed that @cache has a size property. If I set the size to say 64000.
1.Is this size from the documentation mentioning in bytes ? is it 6.4 MB or 64 MB ?
2. What happens if the records in the db column are more then the size ?
Does the cache grow automatically.
3.When does the cache hit the ceiling and what will happen then ? does fetching of new records fail ? How will the client be notified that the cache is full in all the useless above .
Appreciate your input.
Thanks
Sunny
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03238 seconds