$B5WJ]$5$s(B<br><br>$BJV;v$"$j$,$H$&$4$6$$$^$7$?!#(B<br>$B2<5-$G$O!"$^$@(BError$B$,$G$?$N$G!"(BStatementFactory$B$b!V(BBasicStatementFactory$B!W(B<br>$B$KD>$7$?$i!"(BOK$B$K$J$j$^$7$?!#(B<br><br>$B;VB<(B<br><br><div class="gmail_quote">2008/04/28 16:22 kubo &lt;<a href="mailto:dbflute@gmail.com">dbflute@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B5WJ]$G$9!#(B<br>
<br>
$B;VB<$5$s!"$3$s$K$A$O(B<br>
<br>
PagerStatementFactory$B%/%i%9$K$FH/@8$7$F$$$k$h$&$G$9!#(B<br>
jdbc.dicon$B$N(BPagerStatementFactory$BDj5AItJ,$r(B<br>
BasicStatementFactory$B$KJQ$($F;n$7$FD:$1$^$;$s$G$7$g$&$+!)(B<br>
<br>
DBFlute$B$O!"(BS2Pager$B$rMxMQ$7$J$$$?$a!"(B<br>
PagerStatementFactory$B$rMxMQ$7$J$/$F$bLdBj$"$j$^$;$s!#(B<br>
<br>
2008/4/26 Masanobu Shimura &lt;<a href="mailto:mikeshimura@gmail.com">mikeshimura@gmail.com</a>&gt;:<br>
<div><div></div><div class="Wj3C7c">&gt; $B5WJ]$5$^(B<br>
&gt;<br>
&gt; $B$*@$OC$K$J$j$^$9!#(B $B;VB<$G$9!#(B<br>
&gt;<br>
&gt; $B4D6-$O!"(BS2 2.4.25$B!"(BS2DAO 1.0.48 Dbflute 0.6.8$B$G(B jdbc.dicon$B$O!"(Bs2dao$B$N$b$N$r$$$l$F!"(Bmssql$B$G(B<br>
&gt; &nbsp;$B;HMQ(B $B$7$F$$$^$9!#(B<br>
&gt;<br>
&gt; Select$B$O>e<j$/$$$/$N$G$9$,!"(Bupdate$B$r$7$h$&$H$9$k$H!"!V(BMenuDao was interrupted by<br>
&gt; NullPointerException$B!W$H(B<br>
&gt; &nbsp;$B$J$C$F$7$^$$$^$9!#$I$3$+@_Dj$,B-$j$J$$$N$@$H$*$b$$$^$9$,!#(B<br>
&gt;<br>
&gt; $B$h$m$7$/$*4j$$$$$?$7$^$9!#(B<br>
&gt; DEBUG 2008-04-26 22:39:02,891 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=app.dicon<br>
&gt; DEBUG 2008-04-26 22:39:02,929 [main] $B4D6-JQ?t(B#Env$B$K%U%!%$%k(B(env.txt)$B$+$iCM(B(ct)$B$,@_Dj$5$l$^$7$?(B<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:02,980 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=dbflute.dicon<br>
&gt; DEBUG 2008-04-26 22:39:02,993 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=j2ee.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,012 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=jta.dicon<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:03,213 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=jta.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,213 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=jdbc.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,345 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=jdbc.dicon<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:03,360 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=j2ee.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,677 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=dbflute.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,677 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=convention.dicon<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:03,708 [main]<br>
&gt; S2Container$B$r:n@.$7$^$7$?!#(Bpath=convention.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,709 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=dao.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,752 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=dao.dicon<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:03,752 [main] S2Container$B$r:n@.$7$^$9!#(Bpath=aop.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,803 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=aop.dicon<br>
&gt; DEBUG 2008-04-26 22:39:03,805 [main] S2Container$B$r:n@.$7$^$7$?!#(Bpath=app.dicon<br>
&gt; &nbsp;INFO &nbsp;2008-04-26 22:39:03,862 [main] /* * * * * * * * * * * * * * * * * * *<br>
&gt; * * * * * * * * * {DBFlute}<br>
&gt; INFO &nbsp;2008-04-26 22:39:03,863 [main] {Injection Information}<br>
&gt; &nbsp; [XADataSource]:<br>
&gt; &nbsp; &nbsp; driver = net.sourceforge.jtds.jdbc.Driver<br>
&gt; &nbsp; &nbsp; &nbsp;url &nbsp; &nbsp;= jdbc:jtds:sqlserver://localhost/micstest;instance=SQLEXPRESS<br>
&gt; &nbsp; &nbsp; user &nbsp; = sa<br>
&gt; &nbsp; [StatementFactory]:<br>
&gt; &nbsp; &nbsp; Injected statementFactory is ConfigurableStatementFactory. But DBFlute<br>
&gt; uses original statementFactory.<br>
&gt; &nbsp; &nbsp; &nbsp;If the injected statementFactory is ConfigurableStatementFactory, the<br>
&gt; config is inherited to the original statementFactory.<br>
&gt; &nbsp; [ResultSetFactory]:<br>
&gt; &nbsp; &nbsp; Injected resultSetFactory is PagerResultSetFactoryWrapper. But DBFlute<br>
&gt; uses original resultSetFactory.<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:03,890 [main] {Initialize against the ClassLoader<br>
&gt; Headache}<br>
&gt; &nbsp; ...Loading class of<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.cbean.SimplePagingBean by class<br>
&gt; sun.misc.Launcher$AppClassLoader<br>
&gt; &nbsp; ...Loading class of ...and so on<br>
&gt; &nbsp;INFO &nbsp;2008-04-26 22:39:03,896 [main] ...Initializing database product name<br>
&gt; as default: SqlServer<br>
&gt; INFO &nbsp;2008-04-26 22:39:03,909 [main] ...Closing the registration of sqlLog.<br>
&gt; INFO &nbsp;2008-04-26 22:39:03,909 [main] {SqlLog Information}<br>
&gt; &nbsp; &nbsp;[SqlLogRegistry]<br>
&gt; &nbsp; &nbsp; SqlLogRegistry(org.seasar.extension.jdbc) is close! It&#39;s default for<br>
&gt; DBFlute.<br>
&gt; &nbsp; &nbsp; If you want to use this, set SqlLogRegistry to SqlLogRegistryLocator at<br>
&gt; yourself.<br>
&gt; INFO &nbsp;2008-04-26 22:39:03,911 [main] ...Locking the config of dbflute!<br>
&gt; &nbsp;INFO &nbsp;2008-04-26 22:39:03,911 [main] * * * * */<br>
&gt; INFO &nbsp;2008-04-26 22:39:04,433 [main] Running on [ENV]ct, [DEPLOY MODE]Normal<br>
&gt; Mode<br>
&gt; DEBUG 2008-04-26 22:39:04,528 [main]<br>
&gt; /=========================================================================<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,528 [main]<br>
&gt; MenuDao.selectList()<br>
&gt; DEBUG 2008-04-26 22:39:04,528 [main]<br>
&gt; ===================/<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,534 [main] MenuBhv.selectList() --&gt; ...<br>
&gt; DEBUG 2008-04-26 22:39:04,535 [main] ...Creating daoMetaData.<br>
&gt; DEBUG 2008-04-26 22:39:04,729 [main] $BJ*M}E*$J%3%M%/%7%g%s$r<hF@$7$^$7$?(B<br>
&gt; DEBUG 2008-04-26 22:39:04,729 [main] $BO@M}E*$J%3%M%/%7%g%s$r<hF@$7$^$7$?!#(Btx=null<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,743 [main] $BO@M}E*$J%3%M%/%7%g%s$rJD$8$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:04,745 [main] $BO@M}E*$J%3%M%/%7%g%s$r<hF@$7$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:04,838 [main] $BO@M}E*$J%3%M%/%7%g%s$rJD$8$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:04,840 [main] ...Initializing sqlCommand.<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,874 [main] SqlCommand Initialization Cost:<br>
&gt; [00m00s338ms]<br>
&gt; DEBUG 2008-04-26 22:39:04,941 [main] $BO@M}E*$J%3%M%/%7%g%s$r<hF@$7$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:04,948 [main] select <a href="http://dflocal.id" target="_blank">dflocal.id</a> as id,<br>
&gt; dflocal.menugroup as menugroup, dflocal.menucontents as menucontents from<br>
&gt; menu dflocal where dflocal.menugroup = &#39;P&#39;<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,985 [main] $BO@M}E*$J%3%M%/%7%g%s$rJD$8$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:04,986 [main] ===========/ [00m00s451ms - Selected<br>
&gt; list: 1 first={1,P,&lt;TEST&gt;}]<br>
&gt; DEBUG 2008-04-26 22:39:04,986 [main]<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,987 [main]<br>
&gt; /=================================================================================<br>
&gt; DEBUG 2008-04-26 22:39:04,987 [main]<br>
&gt; MenuDao.updateModifiedOnly()<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,988 [main]<br>
&gt; ===========================/<br>
&gt; DEBUG 2008-04-26 22:39:04,988 [main] MenuBhv.delegateUpdate() --&gt; ...<br>
&gt; DEBUG 2008-04-26 22:39:04,988 [main] ...Initializing sqlCommand.<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:04,992 [main] SqlCommand Initialization Cost:<br>
&gt; [00m00s004ms]<br>
&gt; DEBUG 2008-04-26 22:39:05,004 [main] $BO@M}E*$J%3%M%/%7%g%s$r<hF@$7$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:05,005 [main] UPDATE menu SET menucontents =<br>
&gt; &#39;TEST222&#39; WHERE id = 1<br>
&gt; &nbsp;DEBUG 2008-04-26 22:39:05,006 [main] $BO@M}E*$J%3%M%/%7%g%s$rJD$8$^$7$?!#(Btx=null<br>
&gt; DEBUG 2008-04-26 22:39:05,006 [main] MenuDao was interrupted by<br>
&gt; NullPointerException<br>
&gt; [Interrupted Target]<br>
&gt; &nbsp; &nbsp;dao &nbsp; &nbsp;= MenuDao<br>
&gt; &nbsp; method = public abstract int<br>
&gt; com.shimura.dbflutetest.dblute.bsdao.BsMenuDao.updateModifiedOnly(com.shimura.dbflutetest.dblute.exentity.Menu)<br>
&gt; &nbsp; args &nbsp; = {1,P,TEST222}<br>
&gt; Exception in thread &quot;main&quot; java.lang.NullPointerException<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; org.seasar.dao.pager.PagerStatementFactory.createPreparedStatement(PagerStatementFactory.java:42)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; org.seasar.extension.jdbc.impl.ConfigurableStatementFactory.createPreparedStatement(ConfigurableStatementFactory.java:67)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.internal.sqlhandler.InternalBasicHandler.prepareStatement(InternalBasicHandler.java:162)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.internal.sqlhandler.InternalAbstractAutoHandler.execute(InternalAbstractAutoHandler.java:78)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.internal.sqlhandler.InternalAbstractAutoHandler.execute(InternalAbstractAutoHandler.java:64)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.internal.sqlcommand.InternalUpdateModifiedOnlyCommand.execute(InternalUpdateModifiedOnlyCommand.java:59)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.S2DaoInterceptor.dispatchInvoking(S2DaoInterceptor.java:129)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.s2dao.S2DaoInterceptor.invoke(S2DaoInterceptor.java:64)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.exdao.MenuDao$$EnhancedByS2AOP$$1f11507$$MethodInvocation$$updateModifiedOnly8.proceed(MethodInvocationClassGenerator.java)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.exdao.MenuDao$$EnhancedByS2AOP$$1f11507.updateModifiedOnly(MenuDao$$EnhancedByS2AOP$$1f11507.java)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.bsbhv.BsMenuBhv.delegateUpdate(BsMenuBhv.java:355)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.bsbhv.BsMenuBhv$4.callbackDelegateUpdate(BsMenuBhv.java:227)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.bsbhv.BsMenuBhv$4.callbackDelegateUpdate(BsMenuBhv.java:1)<br>
&gt; &nbsp; &nbsp; &nbsp;at<br>
&gt; com.shimura.dbflutetest.dblute.allcommon.bhv.AbstractBehaviorWritable.helpUpdateInternally(AbstractBehaviorWritable.java:131)<br>
&gt; &nbsp; &nbsp; at<br>
&gt; com.shimura.dbflutetest.dblute.bsbhv.BsMenuBhv.update(BsMenuBhv.java:226)<br>
&gt; &nbsp; &nbsp; at com.shimura.dbflutetest.Test.main(Test.java:22)<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; &nbsp;Seasar-user mailing list<br>
&gt; &nbsp;<a href="mailto:Seasar-user@ml.seasar.org">Seasar-user@ml.seasar.org</a><br>
&gt; &nbsp;<a href="https://ml.seasar.org/mailman/listinfo/seasar-user" target="_blank">https://ml.seasar.org/mailman/listinfo/seasar-user</a><br>
&gt;<br>
&gt;<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>