> I have gathered from one ancient post that I’m supposed to call the > CayenneRuntime’s bindThreadInjector method
Yep, that's how you provide deserialization context. > , but I’m unsure where to do > this. I know that the injector is attached to my runtime (which I have). Are you deserializing within the scope of a web request? If so, perhaps you can use a servlet Filter that binds/unbinds injector from the request thread? Andrus > On Jun 15, 2016, at 5:14 AM, Lon Varscsak <lon.varsc...@gmail.com> wrote: > > Hey guys, > > I’m working with a project that deserializes my component state (which has > CDOs and ObjectContexts) and when it goes to deserialize them I get the > error in the subject. > > I have gathered from one ancient post that I’m supposed to call the > CayenneRuntime’s bindThreadInjector method, but I’m unsure where to do > this. I know that the injector is attached to my runtime (which I have). > > Any help would be appreciated. > > Thanks, > > Lon