<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"$B#M#S(B $BL@D+(B";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"$B#M#S(B $B%4%7%C%/(B";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:Century;
        panose-1:2 4 6 4 5 5 5 2 3 4;}
@font-face
        {font-family:"\@$B#M#S(B $B%4%7%C%/(B";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"\@$B#M#S(B $BL@D+(B";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:Century;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
/* Page Definitions */
@page Section1
        {size:595.3pt 841.9pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;
        layout-grid:18.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=JA link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:18.0pt'>
<p class=MsoNormal><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B:4F#E0B@O:$G$9!#(B</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B$*@$OC$K$J$C$F$*$j$^$9!#(B</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>Dolteng 0.17.0(Teeda+S2dao)</span></font><font
size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B$G3+H/$r$7$F$*$j$^$9!#(B</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>S2Dao</span></font><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span
style='font-size:10.0pt;font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B$G(B</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Dao</span></font><font
size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B$N%F%9%H$r<B9T$9$k$H!"(B</span></font><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'>java.lang.ClassCastException: java.lang.String<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B$,%9%m!<$5$l$^$9!#(B</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B860x$,$o$+$j$^$;$s!#$o$+$kJ}$*$i$l$^$;$s$G$7$g$&$+!)(B</span></font><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B"'>$B0J2<!"%F%9%H%/%i%9(B</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><b><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black;font-weight:bold'>public</span></font></b><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span style='font-weight:bold'>class</span></b>
RentInfoDaoTest <b><span style='font-weight:bold'>extends</span></b>
S2DaoTestCase {<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span
style='font-weight:bold'>public</span></b> <b><span style='font-weight:bold'>void</span></b>
testfindRentBooks() <b><span style='font-weight:bold'>throws</span></b>
Exception {<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> Book[]
books = rentInfoDao.findRentBooks("012");<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <i><span
style='font-style:italic'>assertEquals</span></i>("Seasar</span></font><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$BF~Lg(B<span lang=EN-US>", books[0].getTitle());<o:p></o:p></span></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> }<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>}<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$B0J2<!"(B<span lang=EN-US>DAO</span>$B%$%s%?!<%U%'!<%9(B<span lang=EN-US><o:p></o:p></span></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>public interface RentInfoDao {<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> public Class BEAN = RentInfo.class;<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> public Book[] findRentBooks(String
userId); <o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>}<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$B0J2<!"(B<span lang=EN-US>SQL</span>$B%U%!%$%k(B<span lang=EN-US><o:p></o:p></span></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>select bookSpec.title, rentInfo.limitDate<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>from rentInfo, rentInfoDetail, book,
bookSpec<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>where rentInfo.userId=? and<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>rentInfo.id=rentInfoDetail.rentInfoId and<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>rentInfoDetail.bookId=book.id and<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>book.bookSpecId=bookSpec.id<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$B0J2<!"(B<span lang=EN-US>entity<o:p></o:p></span></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><b><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black;font-weight:bold'>public</span></font></b><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span style='font-weight:bold'>class</span></b>
Book <b><span style='font-weight:bold'>implements</span></b> Serializable {<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span
style='font-weight:bold'>public</span></b> <b><span style='font-weight:bold'>static</span></b>
<b><span style='font-weight:bold'>final</span></b> String <i><span
style='font-style:italic'>TABLE</span></i> = "book";<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span
style='font-weight:bold'>private</span></b> String title;<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> <b><span
style='font-weight:bold'>private</span></b> Date limitDate;<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'>}<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$B4D6-(B<span lang=EN-US>: s2framework-2.4.8<o:p></o:p></span></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'> S2dao-1.0.39<o:p></o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span lang=EN-US style='font-size:10.0pt;
font-family:"$B#M#S(B $B%4%7%C%/(B";color:black'><o:p> </o:p></span></font></p>
<p class=MsoNormal align=left style='text-align:left;text-autospace:none'><font
size=2 color=black face="$B#M#S(B $B%4%7%C%/(B"><span style='font-size:10.0pt;font-family:
"$B#M#S(B $B%4%7%C%/(B";color:black'>$B0J>e!"59$7$/8f4j$$CW$7$^$9!#(B<span lang=EN-US><o:p></o:p></span></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>