Sorry about that. Too sleepy... On Tue, May 18, 2010 at 2:56 PM, Anton Podviaznikov <[email protected]> wrote:
> @UnitOfWorkPropagation If you use UnitOfWorkPropagation, you should NOT use newUnitOfWork(); > final EntityBuilder<Company> builder = > uow.newEntityBuilder(Company.class); > final Company prototype = builder.instance(); > prototype.name().set(name); > > final Company company = builder.instance(); You probably mean newInstance() !! Nothing gets created. 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

