Thanks for this. I thought I re-linked everything but looks like I'm
still getting used to Maven (been avoiding it for long time).

On Sun, May 10, 2009 at 10:16 PM, Rickard Öberg <[email protected]> wrote:
> Aye wrote:
>>
>> This was the new change:
>>
>>     public EntityComposite newProxy( InvocationHandler invocationHandler)
>>
>> from
>>
>>    public EntityComposite newProxy( EntityInstance entityInstance )
>>
>> I didn't see any test cases change when using uow.newEntityBuilder()
>> which now throws this:
>>
>> java.lang.NoSuchMethodError:
>>
>> org.qi4j.runtime.entity.EntityModel.newProxy(Lorg/qi4j/runtime/entity/EntityInstance;)Lorg/qi4j/api/entity/EntityComposite;
>>        at
>> org.qi4j.runtime.entity.EntityInstance.<init>(EntityInstance.java:94)
>>        at
>> org.qi4j.runtime.entity.EntityModel.newInstance(EntityModel.java:191)
>>        at
>> org.qi4j.runtime.unitofwork.EntityBuilderInstance.<init>(EntityBuilderInstance.java:94)
>>        at
>> org.qi4j.runtime.structure.ModuleUnitOfWork.newEntityBuilder(ModuleUnitOfWork.java:198)
>>        at
>> org.qi4j.runtime.structure.ModuleUnitOfWork.newEntityBuilder(ModuleUnitOfWork.java:159)
>
> It just needs to be recompiled. mvn clean install should fix it.
>
>> p.s. BTW was there a replacement way for doing addAssembler() method
>> or it was just removed?
>
> module.addAssembler(assembler)
> ->
> assembler.assemble(module)
>
> It was just a redundant method that didn't really add anything.
>
> /Rickard
>
>
> _______________________________________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/mailman/listinfo/qi4j-dev
>

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

Reply via email to