On Fri, Nov 20, 2009 at 1:22 PM, Rickard Öberg <[email protected]> wrote:
> On 2009-11-20 12.40, Niclas Hedhman wrote:
>>
>> And it also messes with our "unit of work stack"... Perhaps the idea
>> was that transactions are paused/resumed in sync with which UnitOfWork
>> that is requesting changes?
>
> Right, so what I think is needed is that when UoW is paused/resumed, those
> calls have to be passed on to the underlying EntityStore somehow. Then the
> EntityStore can properly activate/passivate the underlying transaction,
> while enabling the UoW to be longlived.

Hmmmm... Ok, I saw that suspend/resume is sitting waiting for usage,
so perhaps that is the line of thinking.

>>> The string value in the store is not deserialized to a ValueComposite
>>> properly?
>>
>> Shouldn't the CCE happen somewhere else than the test then
>> (qi4j.compacttrace=off) ?
>
> No, because the value is ok to the internals, as it is an Object internally.
> It's when you do the get that the generics typing will cast it to a value,
> and then you get the error.

I have located the problem.

JSON string is stored into the Node, and when it is retrieved the
isPrimitiveType will see it as a String and not as a JSON value.
Looking into how to solve it.


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

Reply via email to