<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'><o:p>&nbsp;</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)<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'>S2-framework-2.4.8<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-1.0.39<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$G3+H/$r$7$F$$$^$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'><o:p>&nbsp;</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'>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$7$F$$$k$N$G$9$,!"0J2<%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'>void</span></b>
testGetMaxId() <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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RentInfo
rentInfo;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rentInfo
= rentInfoDao.findMaxId();<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <i><span
style='font-style:italic'>assertEquals</span></i>(&quot;02&quot;,
rentInfo.getId());<o:p></o:p></span></font></p>

<p class=MsoNormal><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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></font></p>

<p class=MsoNormal><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'>$B>e5-$N!"(B<span
lang=EN-US>rentInfo.getId()</span>$B$,!"(B<span lang=EN-US>null</span>$B$rJV$7$F$7$^$$$^$9!#(B<span
lang=EN-US><o:p></o:p></span></span></font></p>

<p class=MsoNormal><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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><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%/%i%9!#(B<span
lang=EN-US><o:p></o:p></span></span></font></p>

<p class=MsoNormal><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>&nbsp;</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'>interface</span></b>
RentInfoDao {<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-indent:9.85pt;
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'> Class <i><span style='font-style:italic'>BEAN</span></i> =
RentInfo.<b><span style='font-weight:bold'>class</span></b>;<o:p></o:p></span></font></p>

<p class=MsoNormal align=left style='text-align:left;text-indent:9.85pt;
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'>static</span></b> <b><span
style='font-weight:bold'>final</span></b> String <i><span style='font-style:
italic'>findMaxId_SQL</span></i> = </span></font><font size=2 color=black><span
lang=EN-US style='font-size:10.0pt;color:black'>$B!H(B</span></font><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 max(id) from rentInfo</span></font><font size=2
color=black><span lang=EN-US style='font-size:10.0pt;color:black'>$B!I(B</span></font><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 style='text-indent:9.85pt'><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'> RentInfo findMaxId();</span></font><font size=2 color=black
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
color:black'><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=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</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<!"(B</span></font><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial'>Entity</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%/%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><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p>&nbsp;</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>
RentInfo <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-indent:9.85pt;
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'>static</span></b> <b><span
style='font-weight:bold'>final</span></b> String <i><span style='font-style:
italic'>TABLE</span></i> = &quot;rentInfo&quot;;<o:p></o:p></span></font></p>

<p class=MsoNormal style='text-indent:9.85pt'><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'>private</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'> String id;<o:p></o:p></span></font></p>

<p class=MsoNormal><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'>&nbsp;&nbsp;---------getter,
setter</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'>$B>JN,(B<span lang=EN-US>----------<o:p></o:p></span></span></font></p>

<p class=MsoNormal><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><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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><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'>SQL</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'>$B$N=q$-J}$,4V0c$C$F$$$k$N$G$7$g$&$+!)(B<span lang=EN-US><o:p></o:p></span></span></font></p>

<p class=MsoNormal><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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><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'>$B$465<x$$$?$@$1$l$P!"$"$j$,$?$$$G$9!#(B<span
lang=EN-US><o:p></o:p></span></span></font></p>

<p class=MsoNormal><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'>$B$h$m$7$/!"8f4j$$$$$?$7$^$9!#(B</span></font><font
size=2 color=black face=Arial><span lang=EN-US style='font-size:10.0pt;
font-family:Arial;color:black'><o:p></o:p></span></font></p>

</div>

</body>

</html>