My pleasure. :) Just to be clear, so others know as well, a Vertex can mostly be used where a Document is used (it uses one under the covers), even if you don't need to add edges to it. The main difference with the graph API is that it uses auto-start transactions and will auto-save when a property is set, unlike a Document.
-Colin Orient Technologies The Company behind OrientDB On Monday, March 16, 2015 at 7:49:34 PM UTC-5, kurtuluş yılmaz wrote: > > Hi Colin.a > I really appreciate your response. Your advice solved my problem and > opened my mind. First I added document to same Db with graph to GraphDb. > First I tried your advice and I write code it works. After than I realized > that I don't need ODatabaseDocumentTx for committing documents I just > try OrientGraph instance and it persists both document and vertice. I > succeed atomic operation which includes graph operation and document > operation. You can see at Second Code Fragment. > Thank you again. > >> >>> -- --- 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.
