<div dir="ltr">$B>.NSMM(B<br>$B$4BP1~$"$j$,$H$&$4$6$$$^$7$?!#(B<br><br>$B$3$A$i$G3NG'$7$?$H$3$m$&$^$/9T$C$F$$$k$h$&$G$9!#(B<br><br><br><div class="gmail_quote">2008/10/18 Koichi Kobayashi <span dir="ltr">&lt;<a href="mailto:koichik@improvement.jp">koichik@improvement.jp</a>&gt;</span><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, 18 Oct 2008 09:49:11 +0900<br>
From: &nbsp; &nbsp;&quot;Mitsutaka Sato&quot; &lt;<a href="mailto:miztaka@gmail.com">miztaka@gmail.com</a>&gt;<br>
To: &nbsp; &nbsp; &nbsp;seasar-user &lt;<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a>&gt;<br>
Subject: [Seasar-user:16051] RequiresNewTx $B$G%H%i%s%6%/%7%g%s$,3+;O$G$-$J$$(B<br>
<div class="Ih2E3d"><br>
&gt; $B>e5-$N%F%9%H%1!<%9$r<B9T$9$k$H!"(BrequiresNewTx $B$N3+;O$G0J2<$N%(%i!<$,H/@8$7$^$9!#(B<br>
&gt;<br>
&gt; org.seasar.framework.exception.SIllegalStateException:<br>
&gt; [ESSR0308]$B4{$K%m!<%k%P%C%/$H$7$F%^!<%/$5$l$F$$$^$9(B<br>
<br>
</div>$BJs9p$"$j$,$H$&$4$6$$$^$9!%(B<br>
$B=$@5$7$F(B SNAPSHOT $B$r%G%W%m%$$7$?$N$G$43NG'$/$@$5$$!%(B<br>
<br>
<a href="http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-framework/2.4.31-SNAPSHOT/s2-framework-2.4.31-20081018.124630-4.jar" target="_blank">http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-framework/2.4.31-SNAPSHOT/s2-framework-2.4.31-20081018.124630-4.jar</a><br>

<a href="http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-framework/2.4.31-SNAPSHOT/s2-framework-2.4.31-20081018.124630-4.jar" target="_blank">http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-framework/2.4.31-SNAPSHOT/s2-framework-2.4.31-20081018.124630-4.jar</a><br>

<a href="http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-tiger/2.4.31-SNAPSHOT/s2-tiger-2.4.31-20081018.125240-4.jar" target="_blank">http://maven.seasar.org/maven2-snapshot/org/seasar/container/s2-tiger/2.4.31-SNAPSHOT/s2-tiger-2.4.31-20081018.125240-4.jar</a><br>

<div class="Ih2E3d"><br>
<br>
&gt; $B$A$J$_$K(Bs2-2.4.17$B$^$G$O%(%i!<$OH/@8$;$:!"(B s2-2.4.18 $B$+$i>e5-%(%i!<$OH/@8$7$^$9!#(B<br>
<br>
</div>$B:#2s$N=$@58e$b(B 2.4.17 $B0JA0$H$OHyL/$KF0:n$,(B<br>
$B0[$J$j$^$9!%(B<br>
<br>
$B7G:\$N%F%9%H%1!<%9$@$H!$(B2.4.17 $B0JA0$G$O(B<br>
$B!V(BUserTransaction$B$r%3%_%C%H$7$^$7$?!#!W$H$$$&(B<br>
$B%a%C%;!<%8$,(B ($B$?$V$s(B) $B=PNO$5$l$^$9$,!$(B2.4.18<br>
$B0J9_$G$O=PNO$5$l$^$;$s!%(B<br>
<br>
$B$3$l$O!$(BalwaysExceptionService#execute() $B$+$i(B<br>
$BNc30$,%9%m!<$5$l$k$H(B 2.4.18 $B0J9_$G$O(B<br>
setRollbackOnly() $B$,@_Dj$5$l$k$+$i$G$9!%(B<br>
<br>
2.4.17 $B0JA0$G$O!$%H%i%s%6%/%7%g%s$,3+;O:Q$_$N(B<br>
$B>uBV$G8F$S=P$5$l$k(B requiredTx $B$O!$%H%i%s%6%/%7%g%s$N(B<br>
$B%3%_%C%H$K$b%m!<%k%P%C%/$K$b4XM?$7$^$;$s$G$7$?$,!$(B<br>
2.4.18 $B0J9_$G$ONc30$GH4$1$F$$$/>l9g$K(B<br>
setRollbackOnly() $B$7$^$9!%(B<br>
$B$3$l$O!$Nc30$,0{$_9~$^$l$?>l9g$K%H%i%s%6%/%7%g%s$,(B<br>
$B%3%_%C%H$5$l$F$7$^$&$N$rKI$0$?$a$G!$(BEJB $B;EMM$G$b(B<br>
$B$=$&$J$C$F$$$^$9!%(B<br>
# EJB $B$G$O(B RuntimeException $B$d(B EJBException<br>
# $B$J$I0lIt$r=|$$$?B?$/$NNc30$O%m!<%k%P%C%/$7$J$$(B<br>
# $BNc30$G$9$,!%(B<br>
<br>
$B$b$7!$Nc30$,%9%m!<$5$l$?>l9g$K(B setRoolbackOnly() $B$r(B<br>
$B@_Dj$5$l$?$/$J$$>l9g$O!$FH<+$N(B j2ee.dicon $B$rMQ0U$7$F!$(B<br>
$B0J2<$G@bL@$5$l$F$$$k(B addCommitRule() $B$G3:Ev$NNc30$r(B<br>
$BEPO?$7$F$/$@$5$$!%(B<br>
<br>
<a href="http://s2container.seasar.org/2.4/ja/tx.html#Exception" target="_blank">http://s2container.seasar.org/2.4/ja/tx.html#Exception</a><br>
<br>
$BFH<+$N(B j2ee.dicon $B$O(B WEB-INF/classes $B$J$I!$(BSeasar2 $B$N(B<br>
Jar $B%U%!%$%k$h$jM%@h$5$l$k%/%i%9%Q%9$KG[CV$9$kI,MW$,(B<br>
$B$"$j$^$9!%(B<br>
<br>
<br>
<br>
--<br>
&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>
</blockquote></div><br></div>