Hello Andrey,
I use  OrientDB Server v1.7.4.

Sorry for late response.

Regards,
Jan

On Friday, August 29, 2014 2:13:56 PM UTC+2, Andrey Lomakin wrote:
>
> Hi Jan,
> Which version do you use ?
>
>
> On Mon, Aug 25, 2014 at 1:50 PM, Jan Botorek <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> I have been struggling with this problem for a while and can not find any 
>> solution. The objective is not complicated: I need to drop a class:
>>
>> I use command: 
>> OrientGraph.dropVertexType("testClass")
>>
>> and the system returns exception: 
>> WARNING: Requested command 'drop vertex type 'testLabel'' must be 
>> executed outside active transaction: the transaction will be committed 
>> and reopen right after it. To avoid this behavior execute it outside a 
>> transaction
>> Exception in thread "main" java.lang.IllegalStateException: Cannot drop 
>> a class inside a transaction
>>
>> The same situation occurrs when using graph.command(new OCommandSQL("drop 
>> class testLabel")).execute();
>>
>>
>> I do understand I am currently in an active transaction, but I don't know 
>> how to end it so that the drop function can be applied. 
>> Any help will be highly appreciated, 
>>
>> Best wishes, J
>>
>>
>>  -- 
>>
>> --- 
>> 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] <javascript:>.
>> 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 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