thanks for your suggestions but if I use transactional graph it didn't 
rollback.
when I use wrong query ( graph.command(new OCommandSQL(query).execute());


but the data is inserted into table 


On Monday, May 2, 2016 at 5:47:54 PM UTC+5:30, [email protected] wrote:

> Hi,
> you must replace
> graph.command(new OCommandSQL(query).execute());
>
> with 
> graph.command(new OCommandSQL(query)).execute();
>
> You can't do a rollback with a non-transactional graph.
>
> Best regards,
> Alessandro
>

-- 

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