$B:4F#$G$9!#(B<br>$B$$$D$b$*@$OC$K$J$C$F$*$j$^$9!#(B<br><br>s2testcase$B$N(B deleteDb$B$r<B9T$7$?$H$-$K0J2<$N%(%i!<$,H/@8$7$^$7$?!#(B<br>(readXlsReplaceDb $BEy$b(B)<br><br>S2-2.4.32, SQLServer2005$B$G<B9T$7$^$7$?!#(B<br>$B3N$+$K!"(B&quot;DELETE FROM account_history_table W&quot; $B$r(B SQLServerManagementStudio$BEy$G<B9T$9$k$H(B<br>
$BF1MM$N%(%i!<$H$J$j$^$9!#(B<br><br>$B0J>e$h$m$7$/$*4j$$$7$^$9!#(B<br><br>================================<br>org.seasar.framework.exception.SQLRuntimeException: [ESSR0072]SQL$B$GNc30(B(SQL=[DELETE FROM account_history_table W], Message=[[ESSR0072]SQL$B$GNc30(B(SQL=[DELETE FROM account_history_table W], Message=[102], ErrorCode=S0001, SQLState={3})$B$,H/@8$7$^$7$?(B : [SQL$B$GNc30(B(Message=[&#39;W&#39; $BIU6a$KITE,@Z$J9=J8$,$"$j$^$9!#(B], ErrorCode=102, SQLState=S0001)$B$,H/@8$7$^$7$?!#(B], [&#39;W&#39; $BIU6a$KITE,@Z$J9=J8$,$"$j$^$9!#(B], ErrorCode=102, SQLState=S0001)$B$,H/@8$7$^$7$?(B<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.PreparedStatementUtil.executeUpdate(PreparedStatementUtil.java:68)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.BasicUpdateHandler.execute(BasicUpdateHandler.java:102)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.BasicUpdateHandler.execute(BasicUpdateHandler.java:80)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.extension.dataset.states.AbstractRowState.execute(AbstractRowState.java:63)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.dataset.states.AbstractRowState.update(AbstractRowState.java:39)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.dataset.impl.SqlDeleteTableWriter.doWrite(SqlDeleteTableWriter.java:45)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.extension.dataset.impl.SqlTableWriter.write(SqlTableWriter.java:62)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.unit.S2TestCase.deleteDb(S2TestCase.java:442)<br>&nbsp;&nbsp;&nbsp; at com.valuecardservice.soap.services.DealServiceRollbackTest.setUpInvalidReceiptNo(DealServiceRollbackTest.java:89)<br>
&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.MethodUtil.invoke(MethodUtil.java:96)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.invoke(S2FrameworkTestCase.java:653)<br>&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.setUpForEachTestMethod(S2FrameworkTestCase.java:486)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.unit.S2FrameworkTestCase.runBare(S2FrameworkTestCase.java:298)<br>&nbsp;&nbsp;&nbsp; at junit.framework.TestResult$1.protect(TestResult.java:106)<br>&nbsp;&nbsp;&nbsp; at junit.framework.TestResult.runProtected(TestResult.java:124)<br>
&nbsp;&nbsp;&nbsp; at junit.framework.TestResult.run(TestResult.java:109)<br>&nbsp;&nbsp;&nbsp; at junit.framework.TestCase.run(TestCase.java:120)<br>&nbsp;&nbsp;&nbsp; at junit.framework.TestSuite.runTest(TestSuite.java:230)<br>&nbsp;&nbsp;&nbsp; at junit.framework.TestSuite.run(TestSuite.java:225)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)<br>&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)<br>&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)<br>
&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)<br>&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)<br>&nbsp;&nbsp;&nbsp; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)<br>
Caused by: org.seasar.framework.exception.SSQLException: [ESSR0072]SQL$B$GNc30(B(SQL=[DELETE FROM account_history_table W], Message=[102], ErrorCode=S0001, SQLState={3})$B$,H/@8$7$^$7$?(B<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.PreparedStatementWrapper.wrapException(PreparedStatementWrapper.java:72)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.PreparedStatementWrapper.wrapException(PreparedStatementWrapper.java:67)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:91)<br>
&nbsp;&nbsp;&nbsp; at org.seasar.framework.util.PreparedStatementUtil.executeUpdate(PreparedStatementUtil.java:66)<br>&nbsp;&nbsp;&nbsp; ... 28 more<br>Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: &#39;W&#39; $BIU6a$KITE,@Z$J9=J8$,$"$j$^$9!#(B<br>&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PreparedStatementExecutionRequest.executeStatement(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at org.seasar.extension.jdbc.impl.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:89)<br>&nbsp;&nbsp;&nbsp; ... 29 more<br>
<br><br>