I don't know anything about your problem but are the

'drop vertex type 'testLabel'' 

quotes correct after testlabel?

Am Montag, 25. August 2014 12:50:34 UTC+2 schrieb Jan Botorek:
>
> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to