<div dir="ltr">$B$R$,MM(B<br><br>conpota$B$H?=$7$^$9!#(B<br>$B2sEz$"$j$,$H$&$4$6$$$^$9!#(B<br><br>$B$^$@JY6/ITB-$G?=$7Lu$J$$$G$9!#(B<br>Kuina-Dao$B$N%F%9%H%/%i%9$r0J2<$N$h$&$K:n$C$F$_$^$7$?$i%F%9%H$O$&$^$/9T$C$?$N$G$9$,!"(B<br>public class EmpTest extends S2TestCase {<br><br>&nbsp;&nbsp;&nbsp; EmpDao empDao;<br><br>&nbsp;&nbsp;&nbsp; @Override<br>
&nbsp;&nbsp;&nbsp; protected void setUp() throws Exception {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; super.setUp();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; include(&quot;app.dicon&quot;);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; public void testFindTx() throws Exception {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Emp emp = empDao.find(1L);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; assertEquals(&quot;SMITH&quot;, emp.getEmpName());<br>
&nbsp;&nbsp;&nbsp; }<br>}<br>$B$3$N(BEmpDao$B$r%5!<%V%l%C%H!J<c$7$/$O(BAction$B!K$+$i;H$&$K$O$I$&$9$l$P$h$$$N$G$7$g$&$+!)(B<br><br>$B$h$m$7$/$*4j$$CW$7$^$9!#(B<br><br><br><div class="gmail_quote">2008/08/06 10:10 Yasuo Higa <span dir="ltr">&lt;<a href="mailto:higa@isid.co.jp">higa@isid.co.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$R$,$G$9!#(B<br>
<div class="Ih2E3d">&gt;<br>
&gt; conpota$B$H?=$7$^$9!#(B<br>
&gt;<br>
&gt; Eclipse3.3$B$G(BDolteng$B%W%m%8%'%/%H$r0J2<$N@_Dj$G:n$j!"(B<br>
&gt; $B!&(BApplication Type: Web Application<br>
&gt; $B!&(BPersistence: Kuina-Dao(Hibernate)<br>
&gt; $B!&%W%l%<%s%F!<%7%g%s(B: $B$J$7(B<br>
&gt; $B!&(BServer Management: WTP(Servlet 2.5)<br>
&gt; $B$5$i$K!"(BCubby$B$rF~$l$F!"(B<br>
&gt; $B%G!<%?%Y!<%9%S%e!<$+$i%(%s%F%#%F%#$H(BDao$B%/%i%9$r:n$j$^$7$?!#(B<br>
&gt;<br>
&gt; $B$?$a$7$K!"(BCubby$B$N(BAction$B%/%i%9$+$i(BXxxDaoImpl$B%/%i%9$r;H$*$&$H$7$^$7$?$,!"(B<br>
&gt; EnitityManager$B$,(BDI$B$5$l$:!"$$$-$E$^$C$F$7$^$$$^$7$?!#(B<br>
&gt; EntityManager$B$O$I$N$h$&$K;H$($P$h$$$N$G$7$g$&$+!)(B<br>
&gt; XxxDaoImpl$B%/%i%9$K(BDI$B$9$k$N$G$O$J$$$N$G$7$g$&$+!)(B<br>
&gt;<br>
</div>$B$3$l$@$1$N>pJs$@$HNI$/$o$+$i$J$$$N$G$9$,!"(B<br>
@PersistenceContext<br>
protected EntityMananger entityManager;<br>
$B$N$h$&$K$7$F$$$^$9$+!#(B<br>
<br>
Kuina-Dao$B$r;H$&>l9g$O!"(BXxxDao$B$@$1$G$9$`$3$H$,$[$H$s$I$G(B<br>
$B$"$^$j(BEntityManager$B$rD>$K;H$&$3$H$O$"$^$j$J$$$O$:$G$9!#(B<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><br clear="all"><br>-- <br>conpota &lt;<a href="mailto:conpota@gmail.com">conpota@gmail.com</a>&gt;<br>
</div>