[transfer-dev] Re: Unable to discard cached object, neither discard() nor discardByClassAndKey()

2009-01-28 Thread Jamie Krug
Also, my cache configuration looks like this: objectCache scopes server key=transfer_myapp / /scopes defaultcache scope type=server / /defaultcache /objectCache Thanks, Jamie On Jan 28, 2:53 pm, Jamie Krug jamiek...@gmail.com

[transfer-dev] Re: Unable to discard cached object, neither discard() nor discardByClassAndKey()

2009-01-28 Thread Jamie Krug
Bob, Thanks for the quick reply! While your suggestion is absolutely correct, it does not correct the problem I'm having. In fact, in my actual unit test, I was indeed calling get() again after discard() (I was calling get() in my setUp() method and discard() in my tearDown() method, if you're

[transfer-dev] Re: Unable to discard cached object, neither discard() nor discardByClassAndKey()

2009-01-28 Thread Jamie Krug
Sounds fair! Thanks Mark, and Bob! On Jan 28, 4:05 pm, Mark Mandel mark.man...@gmail.com wrote: Considering the primary key value is the unique identifier for the object... it is expected behaviour. Mark On Thu, Jan 29, 2009 at 7:56 AM, Jamie Krug jamiek...@gmail.com wrote: Bob,