Bill Burke wrote:

> Also remember why I added the copying to the CacheKey in the first place.
> What I was doing in my application code was reusing a fat-primary key so I
> didn't have to reallocate one.  Thus the entity cache was getting corrupted
> because I kept on changing the shared primary key instance.  I guess if
> you're stupid enough to re-use an instance of a primary key, you deserve to
> spend days trying to track down this problem.
> 
> So, if you're going to get rid of the MarshalledObject and all the copying,
> why not just get rid of CacheKey all together?


Hehe... if it is removed I have only one thing to say: "told you so"... >:-)

/Rickard

-- 
Rickard Öberg


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to