[
http://jira.jboss.com/jira/browse/JBCACHE-13?page=comments#action_12346212 ]
Ben Wang commented on JBCACHE-13:
---------------------------------
With the current flat-space POJO mapping, we should be doing this already. Just need to
double check.
Lazy loading: PojoCache and CacheLoader
---------------------------------------
Key: JBCACHE-13
URL:
http://jira.jboss.com/jira/browse/JBCACHE-13
Project: JBoss Cache
Issue Type: Task
Affects Versions: 1.2.4SP1
Reporter: Bela Ban
Assigned To: Ben Wang
Fix For: 2.0.0.GA
Original Estimate: 3 weeks
Remaining Estimate: 3 weeks
Idea is to have a configurable option that can be set either to eager or lazy loading.
This can apply to whether it is with or without cache loader as well. For example, we may
as well do the initial mapping lazily.
Example:
Person p = cache.getObject("/person");
p.getName(); only primitive fields get loaded (not Address, e.g.)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira