Im encountering this issue in Community edition 2.2 in a distributed mode 
... I'm trying to delete from the admin console , using SQL .. 

delete EDGE where @class="LINK_REASON" and OBJECTREF is NULL

getting oconcurrentmodificationexception during DELETE due to version 
mismatch .

same issue face when trying to execute on any node in the cluster ..

Please advise

On Saturday, 7 January 2012 06:36:29 UTC+5:30, Lvc@ wrote:
>
> Hi, the changes in API are committed in svn trunk and now you can execute 
> directly:
>
> db.delete( rid )
>
> Lvca@
> Il giorno 06/gen/2012 23:53, "Stuart Roebuck" <[email protected] 
> <javascript:>> ha scritto:
>
>> For anyone else who happens to be coding from Scala, I gave up trying to 
>> wrap round the typing of this and wrote a Java accessor:
>>
>> static ODatabaseRaw databaseRaw(ODatabaseDocumentTx database) {
>>     return ( (ODatabaseRecord) database.getUnderlying()).getUnderlying();
>> }
>>
>> From provisional testing this works with (Scala):
>>
>>     val raw = DatabaseJava.databaseRaw(oDatabase)
>>     raw.delete(new ORecordId(oDocument.getIdentity), -1)
>>
>>
-- 
This email is sent on behalf of Northgate Public Services (UK) Limited and 
its associated companies including Rave Technologies (India) Pvt Limited 
(together "Northgate Public Services") and is strictly confidential and 
intended solely for the addressee(s). 
If you are not the intended recipient of this email you must: (i) not 
disclose, copy or distribute its contents to any other person nor use its 
contents in any way or you may be acting unlawfully;  (ii) contact 
Northgate Public Services immediately on +44(0)1908 264500 quoting the name 
of the sender and the addressee then delete it from your system.
Northgate Public Services has taken reasonable precautions to ensure that 
no viruses are contained in this email, but does not accept any 
responsibility once this email has been transmitted.  You should scan 
attachments (if any) for viruses.

Northgate Public Services (UK) Limited, registered in England and Wales 
under number 00968498 with a registered address of Peoplebuilding 2, 
Peoplebuilding Estate, Maylands Avenue, Hemel Hempstead, Hertfordshire, HP2 
4NN.  Rave Technologies (India) Pvt Limited, registered in India under 
number 117068 with a registered address of 2nd Floor, Ballard House, Adi 
Marzban Marg, Ballard Estate, Mumbai, Maharashtra, India, 400001.

-- 

--- 
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.

Reply via email to