Re: JESS: Updating shadow facts from object copies

2007-12-13 Thread Wolfgang Laun
Sorry, but I simply fail to understand why the newly arriving object A2 can't be used in a simple method where you copy all its field values into A1, followed by a call to rete.updateObject(). It'd be interesting to learn which strategy is preferable: either a single call to updateObject(

RE: JESS: Updating shadow facts from object copies

2007-12-13 Thread Will Edwards
Wolfgang, That is certainly an approach we'd considered. We were not too enthusiastic about it though because it would mean that every object type we wanted to potentially store would have to implement the copy method, or we'd do something more generic with introspection. Both of these seemed a