[Seasar-user:1592] Re: S2Dao :: Timestamp による排他制御における 形式 エラーについて

k-shinoda kshinoda
2005年 3月 10日 (木) 17:17:01 JST


しのだです。

>例外が発生するなら、その例外を定義してもらったほうが状況を理解するのに役立ちます。

大変失礼致しました。
例外をログに出力させておらず、記載し忘れました。
申し訳ありません。

下記がログです。


DEBUG 2005-03-10 17:11:24,562 [http-8080-Processor22] 論理的なコネクションを取得しました
DEBUG 2005-03-10 17:11:24,562 [http-8080-Processor22] UPDATE M_Corp_Section SET update_date = '2005-03-10 17.11.24', update_id = 'shinoda', section_nm = '企業立地推進課', region_cd = '02      ' WHERE section_cd = '002' AND corp_cd = '0002' AND update_date = '2005-06-06 05.05.05'
DEBUG 2005-03-10 17:11:24,578 [http-8080-Processor22] 論理的なコネクションを閉じました
org.seasar.dao.UpdateFailureRuntimeException: [EDAO0005]更新に失敗しました。(0002, 002, 企業立地推進課, 02      , 2005-03-10 17:11:24.562, shinoda,{null},{null})
	at org.seasar.dao.impl.AbstractAutoStaticCommand.execute(AbstractAutoStaticCommand.java:36)
	at org.seasar.dao.interceptors.S2DaoInterceptor.invoke(S2DaoInterceptor.java:38)
	at $$jp.co.oec.oasis.dao.M_Corp_SectionDao$$EnhancedByS2AOP$$19cd5f5$$MethodInvocation$$update3.proceed(MethodInvocationClassGenerator.java)
	at $$jp.co.oec.oasis.dao.M_Corp_SectionDao$$EnhancedByS2AOP$$19cd5f5.update(M_Corp_SectionDao$$EnhancedByS2AOP$$19cd5f5.java)
	at jp.co.oec.oasis.maintenance.MasterMaintenanceServiceImpl.updateM_Corp_Section(MasterMaintenanceServiceImpl.java:61)
	at jp.co.oec.oasis.maintenance.SectionSubAction.update(SectionSubAction.java:133)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274)
	at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194)
	at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
	at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:93)
	at org.seasar.struts.processor.Acceptor.process(Acceptor.java:91)
	at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:26)
	at $$org.seasar.struts.processor.S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0.process$$invokeSuperMethod$$(S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0.java)
	at $$org.seasar.struts.processor.S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0$$MethodInvocation$$process0.proceed(MethodInvocationClassGenerator.java)
	at jp.co.oec.oasis.interceptor.MeasureTimeInterceptor.invoke(MeasureTimeInterceptor.java:17)
	at $$org.seasar.struts.processor.S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0$$MethodInvocation$$process0.proceed(MethodInvocationClassGenerator.java)
	at $$org.seasar.struts.processor.S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0.process(S2TilesRequestProcessor$$EnhancedByS2AOP$$d78df0.java)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:430)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
	at jp.co.oec.oasis.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:105)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
	at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:45)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:534)


>これはJDBC Driver次第です。

勉強になりました。m(_ _)m 



Seasar-user メーリングリストの案内