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