[jboss-jira] [JBoss JIRA] Resolved: (JBCACHE-676) PojoCache map implementation needs to handle the case where key is PojoCacheable
Ben Wang (JIRA)
jira-events at jboss.com
Mon Sep 18 00:24:48 EDT 2006
[ http://jira.jboss.com/jira/browse/JBCACHE-676?page=all ]
Ben Wang resolved JBCACHE-676.
------------------------------
Resolution: Done
The test passes now in 2.0. Still need documentation of the effect of Id is Serializable only though.
> PojoCache map implementation needs to handle the case where key is PojoCacheable
> --------------------------------------------------------------------------------
>
> Key: JBCACHE-676
> URL: http://jira.jboss.com/jira/browse/JBCACHE-676
> Project: JBoss Cache
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: PojoCache
> Reporter: Ben Wang
> Assigned To: Ben Wang
> Fix For: 2.0.0
>
>
> This is illustrated in org.jboss.cache.pojo.RecrusiveRefTest where we have map.put(valueId, valueObject) where both are PojoCacheable and valueId also embeded in valueObject. Therefore, if we treat valueId just as a Serializable, replication will cause the object reference split in valueObject (becuase in valueObject, valueId is treated by PojoCache).
--
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
More information about the jboss-jira
mailing list