New Posts New Posts RSS Feed: DevForce caching
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

DevForce caching

 Post Reply Post Reply
Author
Thomas View Drop Down
Newbie
Newbie
Avatar

Joined: 21-Feb-2012
Posts: 23
Post Options Post Options   Quote Thomas Quote  Post ReplyReply Direct Link To This Post Topic: DevForce caching
    Posted: 12-Mar-2012 at 10:25pm
This is just a general question about caching in DevForce:

If I quey the cache on the client to get a list of persons, insert a person and after that query the cache again does the cache contain my own inserted person? 

I would also be interested if the same is true for the server version. So if it is true it would mean that on the server I could always query the cache as long as there is no other application directly inserting into the database.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 13-Mar-2012 at 2:42pm
Hi Thomas,

There are 2 types of caching in DevForce,


and


They both determine DevForce caching behavior.

The answer to your first question, is yes. When you add that person to the EntityManager, it will be stored in the EntityManager's cache.

There's no difference in caching behavior for client or server's version of EntityManager. So, yes, if you have queried all data into your server version of EntityManager, then you can always work with its cache.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down