On 11/06/2010, at 7:28 AM, James Reeves wrote: > On 10 June 2010 22:40, Michael Jaaka <michael.ja...@googlemail.com> wrote: >> Not good, since if database commit fail it is too late for dosync to >> rollback. >> In fact database commit should somehow cooparate with dosync commit >> which is just a case of distributed transaction. > > You're right. In which case, I don't believe there's a way to do this > without accessing the clojure.lang.LockingTransaction class directly.
It's not possible to do this without a two phase commit, which would require quite a change to clojure's transactional mechanism in order to break the existing commit login into a prepare and commit. Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Isn't it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too? -- Douglas Adams -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en