isis-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zcy@ejustcn.com" <...@ejustcn.com>
Subject fetch an object too many times when in view model
Date Thu, 03 Jan 2019 03:45:00 GMT






Hi,
I met an question. If a view model have a property is a domainObject, (eg: User.class , ofcouse
has title() function).
When show viewmodel as a table, datanucleus will fetch User from database each row. even if
User object is same.
Same object shoud fetch from L1 cache instead of fetch from database?  

Thanks!
James

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message