Seems like an issue with escaping the string. Can you paste your schema here?
On Tuesday, 12 January 2016 16:29:14 UTC+5:30, Shaun Gupta wrote: > > So actually if I run the SQL command in string ab: > > UPDATE Patent SET primary_id = 676, original_abstract = > set(original_abstract, "<p num=\\"0000\\">The present invention relates to > compounds of the general formula (I) wherein\\n\\nR<sup>1</sup> is the group > (A) or (B) or (C) or (D); R<sup>2</sup> is a non aromatic\\n\\nheterocycle, > or is OR\' or N(R\\")<sub>2</sub>; R\' is lower alkyl,\\n\\nlower alkyl > substituted by halogen or -(CH<sub>2</sub>)<sub>n</sub>-cycloalkyl;\\n\\nR\\" > is lower alkyl; R<sup>3</sup> is NO<sub>2</sub>, CN or > SO<sub>2</sub>R\';\\n\\nR<sup>4 </sup>is hydrogen, hydroxy, halogen, > NO<sub>2</sub>, lower alkyl, lower\\n\\nalkyl, substituted by halogen, lower > alkoxy, SO<sub>2</sub>R\' or > C(O)OR\\";\\n\\nR<sup>5</sup>/R<sup>6</sup>/R<sup>7</sup> are hydrogen, > halogen, lower alkyl\\n\\nor lower alkyl, substituted by halogen; > X<sup>1</sup>/X<sup>1\\u00bf</sup>\\n\\nare CH or N, with the proviso that > X<sup>1</sup>/X<sup>1\\u00bf</sup> are not simultaneously\\n\\nCH; > X<sup>2</sup> is O, S, NH or N(lower alkyl); n is 0, l or 2; and to > pharmaceutically\\n\\nactive acid addition salts and to their use in the > treatment of neurological and\\n\\nneuropsychiatric disorders.</p>") UPSERT > WHERE primary_id = 676 > > > directly in the orientdb console, I get the same issue with the brackets, > so I think the main error in not being able to correctly parse the command > is an issue with OrientDB, which is why I posted here.... > -- --- 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.
