$B$&$($d$^$G$9!#(B<br><br>$B2<5-7o$G$9$,!&!&!&!&%G!<%?%=!<%9$K4X$9$k@_Dj%_%9$,860x$G$7$?!#$*A{$,$;$7$^$7$F?=$7Lu$"$j$^$;$s$G$7$?!#(B<br><br>$B!Z>u67![(B<br>$B#1!K(BPRADO$B$N$_$G$"$k%"%W%j$r:n$C$F$$$?!#(B<br>$B#2!K$=$N#D#B%"%/%;%9It$O(BPRADO$B$N(BActiveRecord$B$r;HMQ!#(B<br>$B#3!K$A$J$_$K(BDataSource$B@_Dj$O(Bapplication.xml$B$H$$$&%U%!%$%k$K5-=R!#(B<br>$B#4!KF1MM$N=hM}$r(BS2Dao$B$G9T$*$&$H$7$?!#(B<br>$B#5!K(Bdao$B$b(Bentity$B$b(Blogic$B$b<BAu$7$F(BPage$B%/%i%9$K(BDI$B!!!*(B
<br>$B#6!K<B9T;~$K%(%i!<H/@8(B<br><br>$B!Z%(%i!<$N860x![(B<br>pdo.dicon$B$N5-=R$,JL%"%W%j$N@_Dj$N$^$^$GA4A3JL$N!J4{B8$N!K%G!<%?%Y!<%9$r;2>H$7$F$$$?!*!!(Borz<br><br>pdo.dicon$B$N@_DjFbMF$r(Bapplication.xml$B$N5-=RFbMF$H$=$m$($k$3$H$GA[Dj$I$*$j$NF0$-$K$J$j$^$7$?!#(B<br><br>$B!Z2~A1$NJ}8~![(B<br>$B:#8e$bF1$8$h$&$J%_%9$r7+$jJV$9$+$bCN$l$J$$$N$G!"(BDataSource$B@_DjItJ,$N0l852=$r?^$j$^$9!#(B<br>
$B:#$N;~E@$G$O!"(Bapplication.xml$B$NFbMF$r85$K(BDataSource$B@_DjFbMF$r<hF@$7!"(BApplicationContext$B$r(B<br>$BMxMQ$7$F(Bpdo.dicon$B$N(BDataSource$B@_DjItJ,$r@8@.$9$k!#$J$I$NO"7H5!G=$r$D$1$h$&$H;W$C$F$$$^$9!#(B<br><br>$B$*A{$,$;$$$?$7$^$7$F?=$7Lu$"$j$^$;$s$G$7$?!#(B<br><br><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
$B%O%?$G$9!#(B</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$BH?1~$,CY$/$J$C$F$7$^$$$^$7$?!#$9$$$^$;$s!#(B<br><br>$B$&$($d$^$5$s!">\:Y$J2r@O$"$j$,$H$&$4$6$$$^$9!#(B<br>MySQL$BB&$G(BprimaryKey$B$r<hF@$7$K$$$/$?$a$K(B
<br><br>&gt; SELECT * FROM $B%F!<%V%kL>(B LIMIT 0<br><br>$B$H$7$F!"6u$N%F!<%V%k>pJs$+$i<hF@$G$-$?%+%i%`9`L\?t(B(PDOStatement::columnCount)$BJ,$@$1(B<br>$B%+%i%`Dj5A>pJs$r<hF@(B(PDOStatement::getColumnMeta)$B$7$^$9!#(B<br>MySQL$B$N>l9g$O!"(BPDO$B%I%i%$%P$N<BAu$@$1$G$3$NDj5A$r;HMQ$7$F$$$k$N$G$9$,!"(B<br>MySQL$B$N%P!<%8%g%s$K$h$C$F$O(BPDO$B%I%i%$%P$,%5%]!<%H$7$F$$$J$$>l9g$b$"$j$^$9!#(B(
4.0.xx$B$H$+(B)<br>$B$b$7(BPDO$B%I%i%$%P$,%5%]!<%H$7$F$$$J$$>l9g$O!"B>$N(BDBMS$BF1MM!"(BWrapper$B$G<hF@$9$k$h$&$K=$@5$,I,MW$G$9!#(B<br># $B$A$J$_$K!"0JA0;d$N4D6-$G%F%9%H$7$?$H$-$K(B4.0.20$B$,>e<j$/G'<1$7$J$+$C$?$h$&$J5-21$,$"$j$^$9!#(B<br><br>$B$b$7$h$1$l$P;HMQ$7$F$$$k(BMySQL$B$N%P!<%8%g%s$r65$($F$$$?$@$1$^$9$+!);d$NJ}$GMQ0U$,$G$-$l$P!":F8=$5$;$F$_$?$$$G$9!#(B</blockquote><div><br><br></div></div>
$B0J>e$G$9!#(B<br>-- <br>------------------------------------------------------------------<br>&nbsp;&nbsp;$B?";3!!G=@.(B@$BJ!2,(B<br>$B!!(Bmailto:<a href="mailto:ueyama@gmail.com">ueyama@gmail.com</a><br>------------------------------------------------------------------
<br>