$BCfB<MM(B<br>$B$*@$OC$K$J$C$F$*$j$^$9!#(B<br><br>$B2<5-$465<x$"$j$,$H$&$4$6$$$^$7$?!#(B<br>SqlServerSqlWriter$B$r;H$&$h$&$K$7$?$H$3$m!"(BdeleteDb$B$G$NLdBj$OH/@8$7$J$/$J$C$?$h$&$G$9!#(B<br><br>$B$b$&(B1$B$D65$($F$$$?$@$-$?$$$N$G$9$,!"(B<br>$B:#!"%H%i%s%6%/%7%g%s$,$-$A$s$H%m!<%k%P%C%/$5$l$F$$$k$+$r3NG'$7$?$$$N$G!"(B<br><br>setUpXxx() <br>$B!&(BDB$B$r(BDataSet$B$K%P%C%/%"%C%W(B<br>$B!&%F%9%H%G!<%?MQ$N(BExcel$B$rN.$79~$_(B(replaceDb)<br>
<br>testXxx()<br><br>tearDownXxx()<br>$B!&%F%9%H%G!<%?$r:o=|(B<br>$B!&%P%C%/%"%C%W$7$?(BDB$B$r85$KLa$9(B<br><br>$B$H$$$&9=@.$G%F%9%H$r:n$C$?$N$G$9$,!"(B<br>tearDownXxx() $B$N$H$3$m$G!"(B<br><br>$B!V(BdataSource$B$,(Bnull$B$"$k$$$O6u$G$"$C$F$O$$$1$^$;$s!W$,H/@8$7$F$7$^$$$^$9!#(B<br><br>setUpxxx(), tearDownXxx() $B$N@hF,$G!"(BsetupDataSource()$B$r8F$V$h$&$K$7$F$$$k$N$G$9$,(B<br>
$B>e5-%(%i!<$,H/@8$7$^$9!#(B<br><br>$B$I$N$h$&$K$7$?$i$h$$$+65$($F$$$?$@$1$^$9$HBgJQ=u$+$j$^$9!#(B<br><br><br><div class="gmail_quote">2008/11/19 Toshihiro Nakamura <span dir="ltr">&lt;<a href="mailto:taedium@zf7.so-net.ne.jp">taedium@zf7.so-net.ne.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;">$BCfB<(B(taedium)$B$G$9!#(B<br>
<div class="Ih2E3d"><br>
&gt; $B<g%-!<$O@_Dj$5$l$F$$$k%F!<%V%k$J$N$G$9$,!"(B<br>
&gt; AutoIncrement$B$N$?$a!"(BExcel$B$+$i$ONs$r:o=|$7$F$$$^$7$?!#(B<br>
&gt; $B!J<g%-!<$NNs$,(BExcel$B$K$"$k$H(B readXlsWriteDb $B$G%(%i!<$H$J$k$N$G!#!K(B<br>
<br>
</div>SQL Server$B$N(BAutoIncrement$B$KBP1~$7$?(B<br>
SqlServerSqlWriter$B%/%i%9$r;H$&$H!"(B<br>
readXlsWriteDb$B$G%(%i!<$K$J$kLdBj$O2r7h$7$^$9!#(B<br>
<br>
SqlServerSqlWriter$B$r;H$&J}K!$O(B2$B$D$"$j$^$9!#(B<br>
<br>
1)$B%F%9%H$GMxMQ$9$k(Bdicon$B%U%!%$%k$K<!$N$h$&$KDj5A$9$k!#(B<br>
<br>
 &nbsp;&lt;component class=&quot;org.seasar.extension.dataset.impl.SqlServerSqlWriter&quot;/&gt;<br>
<br>
2)$B%F%9%H%/%i%9$G(BgetSqlWrite()$B$r%*!<%P!<%i%$%I$9$k!#(B<br>
<br>
 &nbsp;@Override<br>
 &nbsp;protected SqlWriter getSqlWriter() {<br>
 &nbsp; &nbsp;new SqlServerSqlWriter(getDataSource());<br>
 &nbsp;}<br>
<br>
<br>
$B<g%-!<$NNs$r(BExcel$B$K4^$a$k$H!"(B<br>
deleteDb()$B$G$b%(%i!<$,5/$-$J$/$J$k$O$:$G$9!#(B<br>
<br>
--<br>
<font color="#888888">Toshihiro Nakamura<br>
</font><div><div></div><div class="Wj3C7c"><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>