$B>.NSMM!"(B<br>$B$465<x$"$j$,$H$&$4$6$$$^$7$?!#(B<br><br>$B=iJbE*$J(BTransaction$B$N;H$$J}$,$h$/$o$+$C$F$$$^$;$s$G$7$?!&!&!&(B<br><br>$B$$$:$l$K$7$m!"(B<br>UserTransaciton$B$r(BDI$B$7$F;HMQ$9$l$P$h$$$h$&$G$9$M!#(B<br>$B$"$j$,$H$&$4$6$$$^$7$?!#(B<br><br><br><div class="gmail_quote">On Dec 8, 2007 9:00 PM, Koichi Kobayashi &lt;<a href="mailto:koichik@improvement.jp">
koichik@improvement.jp</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B>.NS(B (koichik) $B$G$9!%(B<br><br>Date: &nbsp; &nbsp;Sat, 8 Dec 2007 12:55:20 +0900
<br><div class="Ih2E3d">From: &nbsp; &nbsp;&quot;Mitsutaka Sato&quot; &lt;<a href="mailto:miztaka@gmail.com">miztaka@gmail.com</a>&gt;<br>To: &nbsp; &nbsp; &nbsp;<a href="mailto:seasar-user@ml.seasar.org">seasar-user@ml.seasar.org</a><br></div>Subject: [Seasar-user:12000] Re: Transaction$B6-3&$r@_Dj$7$?%3%s%]!<%M%s%H$,3,AXE*$K8F$S=P$5$l$?>l9g(B
<br><div class="Ih2E3d"><br>&gt; &nbsp; &nbsp; // $B%H%i%s%6%/%7%g%s%3%_%C%H(B<br>&gt; &nbsp; &nbsp; // $B"((B hogeService$BFb$G(BfooSerivce$B$NNc30$r%-%c%C%A$7$F(BsetRollbackOnly$B$7$F$k(B<br>&gt; &nbsp; &nbsp; // $B$+$b$7$l$J$$$,!"(Bcommit()$B$G(BOK$B!)(B<br>&gt; &nbsp; &nbsp; userTransaction.commit();<br></div>($BN,(B)<br>&gt; $B$3$N$h$&$K=q$/$N$,@5$7$$(B*$B%9%?%$%k(B*$B$G$7$g$&$+!)(B
<br><br>$B$$$$$(!%(B<br>setRoolbackOnly() $B$7$?8e$K(B commit() $B$r(B<br>$B8F$S=P$9$HNc30$,?a$CHt$s$G$-$^$9!%(B<br><br>if (userTransacstion.isRollbackOnly) {<br> &nbsp;userTransaction.rollback();<br>} else {<br> &nbsp;userTransaction.commit();<br>}<br><br>$B$N$h$&$K$7$F$/$@$5$$!%(B<br><font color="#888888">
<br><br>--<br></font><div><div></div><div class="Wj3C7c">&lt;component name=&quot;koichik&quot;&gt;<br> &nbsp; &nbsp;&lt;property name=&quot;fullName&quot;&gt;&quot;Koichi Kobayashi&quot;&lt;/property&gt;<br> &nbsp; &nbsp;&lt;property name=&quot;email&quot;&gt;&quot;
<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&quot;&lt;/property&gt;<br> &nbsp; &nbsp;&lt;property name=&quot;blog&quot;&gt;&quot;<a href="http://d.hatena.ne.jp/koichik" target="_blank">http://d.hatena.ne.jp/koichik
</a>&quot;&lt;/property&gt;<br>&lt;/component&gt;<br><br>_______________________________________________<br>Seasar-user mailing list<br><a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br><a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">
https://ml.seasar.org/mailman/listinfo/seasar-user</a><br></div></div></blockquote></div><br>