On Mon, May 3, 2010 at 11:59 AM, Rickard Öberg <[email protected]> wrote: > On 2010-05-03 11.36, Niclas Hedhman wrote: >> >> On Mon, May 3, 2010 at 11:33 AM, Niclas Hedhman<[email protected]> wrote: >> >>> * Who is responsible for changing the instance version? >> >> And it is checking against the version of the unitOfWork?? > > Not sure what "checking against" means. The instance version is *set* to the > version of the UoW. When committing the version nr of > instances are checked against versions in the store, if that's what you > mean.
Yes it was. I need to figure out how to handle this in a distributed manner, though. Since I can't rely on jvm synchronization for exclusive access during the check. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

