こんな感じでUpdateしてみる。
public void doUpdate() { SampleInfo entity = new SampleInfo(); entity.setCheckNumber("12345679"); entity.setResendTime(400L); entity.setResendCounter(10); this.dao_.update(entity); }
System start DEBUG 2011-02-13 02:10:01,279 [main] S2Containerを作成します。path=jp/person/akai/tsuki/samplechecker/dicon/alldao.dicon DEBUG 2011-02-13 02:10:01,390 [main] S2Containerを作成します。path=dao.dicon DEBUG 2011-02-13 02:10:01,404 [main] S2Containerを作成します。path=j2ee.dicon DEBUG 2011-02-13 02:10:01,581 [main] S2Containerを作成しました。path=j2ee.dicon DEBUG 2011-02-13 02:10:01,651 [main] S2Containerを作成しました。path=dao.dicon DEBUG 2011-02-13 02:10:01,651 [main] S2Containerを作成します。path=aop.dicon DEBUG 2011-02-13 02:10:01,682 [main] S2Containerを作成しました。path=aop.dicon DEBUG 2011-02-13 02:10:01,693 [main] S2Containerを作成しました。path=jp/person/akai/tsuki/samplechecker/dicon/alldao.dicon WARN 2011-02-13 02:10:01,709 [main] org.seasar.extension.tx.RequiredInterceptorのプロパティ(transactionControl)が見つからないので設定をスキップします WARN 2011-02-13 02:10:01,710 [main] org.seasar.extension.tx.RequiresNewInterceptorのプロパティ(transactionControl)が見つからないので設定をスキップします WARN 2011-02-13 02:10:01,710 [main] org.seasar.extension.tx.MandatoryInterceptorのプロパティ(transactionControl)が見つからないので設定をスキップします WARN 2011-02-13 02:10:01,710 [main] org.seasar.extension.tx.NotSupportedInterceptorのプロパティ(transactionControl)が見つからないので設定をスキップします DEBUG 2011-02-13 02:10:01,964 [main] BEGIN jp.person.akai.tsuki.samplechecker.dao.SampleInfoDao#update([/checkNumber=12345679/sendTime=null/recvTime=null/resendTime=400/resendCounter=10]) DEBUG 2011-02-13 02:10:02,201 [main] 物理的なコネクションを取得しました DEBUG 2011-02-13 02:10:02,201 [main] 論理的なコネクションを取得しました。tx=null DEBUG 2011-02-13 02:10:02,223 [main] 論理的なコネクションを閉じました。tx=null DEBUG 2011-02-13 02:10:02,225 [main] 論理的なコネクションを取得しました。tx=null DEBUG 2011-02-13 02:10:02,283 [main] 論理的なコネクションを閉じました。tx=null DEBUG 2011-02-13 02:10:02,334 [main] 論理的なコネクションを取得しました。tx=null DEBUG 2011-02-13 02:10:02,334 [main] 論理的なコネクションを閉じました。tx=null DEBUG 2011-02-13 02:10:02,339 [main] 論理的なコネクションを取得しました。tx=null DEBUG 2011-02-13 02:10:02,342 [main] UPDATE "SAMPLE_INFO" SET "RESEND_TIME" = 400, "SEND_TIME" = null, "RECV_TIME" = null, "RESEND_COUNTER" = 10 WHERE "CHECK_NUMBER" = '12345679' DEBUG 2011-02-13 02:10:02,378 [main] 論理的なコネクションを閉じました。tx=null DEBUG 2011-02-13 02:10:02,378 [main] END jp.person.akai.tsuki.samplechecker.dao.SampleInfoDao#update([/checkNumber=12345679/sendTime=null/recvTime=null/resendTime=400/resendCounter=10]) : 1 System stop