Is inProcess typed as a "embedded map" or "linked map",my understanding is 
that if embedded map the value to the string key will be a 
non-referenceable record i.e. it seems your PUT placed in a copy of that 
object, my guess is that you want a linked map for that field but that you 
instead have an embedded map.

that's just a guess of course, but please share if otherwise, since I 
recently encountered "holes" in my understanding of Orient's types

-Charles

On Thursday, May 29, 2014 4:08:16 PM UTC-4, Pawel K. wrote:
>
>
> I am struglling with one problem. Any help will be apreciated.
>
> I have simple record which contains map *InProcess. *Elements to this map 
> are added by more less following update* UPDATE #20:0 PUT InProcess = 
> 'd36c6ada-efce-41fe-a31e-8ff9f70cbf6f',Taken.@rid*
>
> --------------------------------------------------
> ODocument - Class: ApplicationsQueue   id: #20:0   v.4
> --------------------------------------------------
>       out_EQueueItem : [size=1]            
>            InProcess : {d36c6ada-efce-41fe-a31e-8ff9f70cbf6f:=#13:0}
>                Taken : #13:0        
>
> Unfortunately when I execute command like *SELECT FROM ApplicationsQueue*
> I am getting
>
>
> ----+-----+--------------+--------------------------------------------------------------------------------------------------+-----
> #   |@RID |out_EQueueItem|InProcess                                       
>                                                   |Taken
>
> ----+-----+--------------+--------------------------------------------------------------------------------------------------+-----
> 0   |#20:0|[size=1] |{d36c6ada-efce-41fe-a31e-8ff9f70cbf6f=
> *Actor{Age:0,FirstName:Bob,Height:0.0,LastName:Doe,Salary:0}*}|#13:0
>
> ----+-----+--------------+--------------------------------------------------------------------------------------------------+-----
>
> which is embedded object pointed by record id. I expected record id. It 
> generates me deserialisation problem and I can't get rid of it.
> Apparently executing 
>
> *select InProcess from ApplicationsQueue*
>
> returns expected record id
>
> ----+-----+--------------------------------------------
> #   |@RID |InProcess                                   
> ----+-----+--------------------------------------------
> 0   |#-2:1|{d36c6ada-efce-41fe-a31e-8ff9f70cbf6f:*#13:0*}
> ----+-----+--------------------------------------------
>
> Anyone knows the solution how to deal with it?
>
> Pawel
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to