Solved the problem with my first application in the first test application.

The problem was with adding method.

   final EntityBuilder<Company> builder =
uow.newEntityBuilder(Company.class);
                final Company prototype = builder.instance();
                prototype.name().set(name);

                final Company company = builder.instance();
                uow.complete();


I needed to call builder.newInstance().


Thank for the help.


I will continue my tests and investigations of this framework.


Best regards,

Anton Podviaznikov
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to