should i create an issue on github?
On Tuesday, April 8, 2014 9:02:01 AM UTC-4, loadedlux wrote:
>
> Please find attached java code that illustrates how my scala performs.
>
> The JSON string
>
> "{\"event_name\":\"world cup
> 2018\",\"admin\":[{\"typehint\":\"oID\",\"id\":\""
> + adminID + "\"}]}"
>
> is the equivalent to
> case class Event(event_name:String, admin:Set[oID])
> case class oID(typehint:String,id:String)
>
> we store an id in a oID wrapper class .. the id field is the @rid
> value. However, it appears that even if we just stored the @rid
> without a wrapper class the issue would persist.
>
> In short, My project code includes a save method that takes a Scala
> Object as a parameter and uses a JSON library to produce a JSON
> string from the Scala object. I then use the fromJSON method to create
> an ODocument and save the ODocument. I did not include this json step
> in the java code I provided.
>
> Thank you very much. I truly appreciate your help and patience.
>
> On Tue, Apr 8, 2014 at 7:42 AM, Andrey Lomakin <[email protected]>
> wrote:
> > I do not know Scala.
> > Sorry. So Java would be preferable.
> >
> >
> > On Tue, Apr 8, 2014 at 2:34 PM, I D <[email protected]> wrote:
> >>
> >> Is it ok if I provide code in scala? I know in the past that luca has
> >> asked for java test.
> >>
> >> On Tue, Apr 8, 2014 at 7:32 AM, Andrey Lomakin <
> [email protected]>
> >> wrote:
> >> > Hi,
> >> > But I suggested to use document instance but not the id.
> >> >
> >> > Any way how do you store id could you provide code which I can start
> and
> >> > check that approach does not work.
> >> > Could you provide working code because pseudo code may work and we
> will
> >> > spend time for nothing.
> >> >
> >> >
> >> > On Tue, Apr 8, 2014 at 2:21 AM, I D <[email protected]>
> wrote:
> >> >>
> >> >> I am not able to use the approach you described. However, The issue
> >> >> persist with RC2 when I store the id.
> >> >>
> >> >>
> >> >> --
> >> >>
> >> >> ---
> >> >> 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.
> >> >
> >> >
> >> >
> >> >
> >> > --
> >> > Best regards,
> >> > Andrey Lomakin.
> >> >
> >> > Orient Technologies
> >> > the Company behind OrientDB
> >> >
> >> > --
> >> >
> >> > ---
> >> > You received this message because you are subscribed to a topic in
> the
> >> > Google Groups "OrientDB" group.
> >> > To unsubscribe from this topic, visit
> >> >
> >> >
> https://groups.google.com/d/topic/orient-database/kAmkR6DL8Fk/unsubscribe.
>
> >> > To unsubscribe from this group and all its topics, send an email to
> >> > [email protected].
> >> > For more options, visit https://groups.google.com/d/optout.
> >>
> >> --
> >>
> >> ---
> >> 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.
> >
> >
> >
> >
> > --
> > Best regards,
> > Andrey Lomakin.
> >
> > Orient Technologies
> > the Company behind OrientDB
> >
> > --
> >
> > ---
> > You received this message because you are subscribed to a topic in the
> > Google Groups "OrientDB" group.
> > To unsubscribe from this topic, visit
> >
> https://groups.google.com/d/topic/orient-database/kAmkR6DL8Fk/unsubscribe.
>
> > To unsubscribe from this group and all its topics, send an email to
> > [email protected].
> > For more options, visit https://groups.google.com/d/optout.
>
--
---
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.