#12: finnish() is superflouse.
--------------------------+-------------------------------------------------
 Reporter:  anonymous     |        Owner:  emil   
     Type:  bug report    |       Status:  new    
 Priority:  major         |    Milestone:  neo-1.0
Component:  neo-core api  |   Resolution:         
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by emil):

 Replying to [comment:2 [EMAIL PROTECTED]:
 > I agree once I have seen your rationale, and example.
 >
 > I might be to caught up in my SQL-thinking.

 I think it's more a problem of poor documentation and rationale on our
 end. So thanks for the feedback!


 >
 > But then, is not failure() redundant?

 No. Neo's transaction manager does not support nested transactions (it is
 optional in the JTA spec). So you might have a scenario where you invoke a
 method that succeeds, thus marking the transaction successful, but after
 that you detect an error. Then you must manually mark the tx as failed in
 the outer scope.

-- 
Ticket URL: <https://trac.neo4j.org/ticket/12#comment:3>
neo4j.org <http://trac.neo4j.org/>
The Neo4J.org Issue Tracker
_______________________________________________
Neo mailing list
[email protected]
http://lists.neo4j.org/mailman/listinfo/user

Reply via email to