On Sat, Feb 7, 2009 at 8:20 PM, Rickard Öberg <[email protected]> wrote: > Alex Shneyderman wrote: >> Hi, all! >> >> I do not see an obvious way to update an entity state - create and >> find seem to be simple. >> Is there a sample for update somewhere? > > After you find() an Entity in a UnitOfWork, simply updates its state > (set properties/associations), and then call UnitOfWork.complete() at > which point the new state will be persisted.
Interesting that this is not obvious. Cheers Niclas -- http://www.qi4j.org - New Energy for Java _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

