I'm pretty new with JCS, and I have some question about key object in JCS now.
I'm try to use my own object as key for JCS cache system. And this object declared as PrimaryKey interface, will generate dynamically. It's may include a ID, may include more complex properties.
But when I use this dynamic generated key object to retrieve object from cache, I can not get it, it just return me null. But I'm sure the object is in cache.
So I think maybe I need to write my own equals() and hashCode() method to make it force check if the keys are same. But even I overwrite equals() and hashCode(), it still can not found and these two method never been called.
Do I had to use exactlly same object as key to store and retrieve object to and from JCS cache system?
Thanks
Wei
_________________________________________________________________
Check your PC for viruses with the FREE McAfee online computer scan. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
