Hi, I'm trying to copy a Document in OrientDB. The SQL-Statement
insert into GermanyClient from ( select from Client where country = 'Germany' ) provided by the documentation does not work in OrientDB-2.0-M3. Was it removed? Error: com.orientechnologies.orient.core.command.OCommandExecutorNotFoundException: Cannot find a command executor for the command request: sql.( select from Client where[...] Also i do not get it via the Document API to work, i tried Stuff like ODocument documentToCopy = result.get(0); ODocument blankDocument = new ODocument() blankDocument.fromMap(documentToCopy.toMap()) or the copy() or the copyTo() methods. fromMap() leads to some exception, copy() and copyTo() does not seem to copy the Record in the Database, it's modifying the existing one. What do I have to do, to create a copy of a Document? In the scenario i want to implement this, i will not have the knowledge of the schema of the document. So i need some generic way to do this. -- --- 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.
