Unfortunately that will not work. My test is an abstraction of my problem but does not communicate my project design. I fully understand if this considered a personal issue, but would greatly appreciate a point in the direction of the orientdb-core code I might have to fork.
My implementation stores links with ORID wrapper classes. For example: case class Person(name: String, friends: List[ORIDWrapper]). Thus, if Adam is friends with Bob, Adam's friends field will contain an ORIDWrapper object that wraps Bob's @rid. My guess is that the orient code only looks for ORID or Collections of ORIDs when updating temporary IDs. I have found that to be the case with the traverse function (i.e., it will not traverse a string or orid format if its in a wrapper). I plan on moving to rc2.. just wanted to add a transaction method to this makeshift orientDB Scala DAO first. On Mon, Apr 7, 2014 at 3:00 PM, Andrey Lomakin <[email protected]>wrote: > HI, > Do not store temporary rids, store documents. > They will be converted to the links automatically during commit. > Is it good enough for you ? > > And why you do not use rc2 version ? > > > On Mon, Apr 7, 2014 at 5:46 AM, loadedlux <[email protected]>wrote: > >> I have attached a clearer example ... >>> >> -- >> >> --- >> 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.
