Hi,
I am using 2.0.6.

I use the following calls to create/update a record -

- Get an instance of dbTx() from OrientGraphFactory
- Create vertices or retrieve and update
- dbTx().commit()
- Finally release the tx instance using dbTx().shutdown()

I am trying to see if I can use Hooks/Triggers to automate some 
functionality post create or update.
My question is - Is the onRecordAfterCreate() and onRecordAfterUpdate() 
called within the same thread that executes the code above?
If that is the case, then any changes to the graph in the above call back 
methods should also be followed by a commit(). Correct?

Thanks and Best Regards,
GPN

-- 

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