java - javax.transaction.HeuristicRollbackException: Failed to commit transaction Transaction -


i trying delete node.

i know deleting node first have delete relationship.

match (n:`dummy`) n.uuid='1aa41234-aaaa-xxxx-ffff-xxxx11xx0x62' optional match (n)-[r]-() delete n,r 

but not working

javax.transaction.heuristicrollbackexception: failed commit transaction transaction(80074, owner:"qtp10775679-13464")[status_no_transaction,resources=1], transaction rolled ---> transaction handler failed.

the error message indicates transaction event handler's beforecommit method threw exception. if happens transaction rolled back.

maybe data/graph.db/messages.log contains stacktrace. if not suggest wrap contents of beforecommit() try catch block catches exception, prints stacktrace , rethrows it.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -