ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gwyn Evans <gwyn.ev...@gmail.com>
Subject Re: Basic mapping in iBatis
Date Mon, 30 Jul 2007 10:21:25 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title></title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Verdana';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts6, span.rvts6
{
 color: #0000ff;
 text-decoration: underline;
}
span.rvts7
{
 font-size: 11pt;
 font-family: 'tahoma';
 font-weight: bold;
 color: #ffffff;
 background-color: #0000ff;
}
span.rvts8
{
 font-size: 11pt;
 font-family: 'tahoma';
}
span.rvts9
{
 font-size: 11pt;
 font-family: 'tahoma';
 font-weight: bold;
}
a.rvts10, span.rvts10
{
 color: #0000ff;
 text-decoration: underline;
}
a.rvts10:hover { color: #0000ff; }
span.rvts11
{
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>On Sunday, July 29, 2007, 9:27:23 PM, Koka &lt;<a class=rvts6 href="mailto:226057@gmail.com">226057@gmail.com</a>&gt;
wrote:</p>
<p><br></p>
<div><table border=0 cellpadding=1 cellspacing=2>
<tr valign=top>
<td width=12 style="background-color: #0000ff;">
<p><span class=rvts7>&gt;</span></p>
</td>
<td width=634 style="background-color: #ffffff;">
<p><span class=rvts8>Think the problem is in setting order property for each OrderItem.
If so, search this list for topic named '</span><span class=rvts9>how to deal
with one-to-many relationship'&nbsp;</span><span class=rvts8>(sorry, can not
provide direct link - I keep list messages in my gmail account). In short conclusion is that
you can not do it through iBatis and you'll have to traverse &nbsp;ordeItems list and
set Order property manually in the DAO layer&nbsp;</span></p>
</td>
</tr>
</table>
</div>
<p><br></p>
<p><br></p>
<p>Ah, I see - the thread's&nbsp;<a class=rvts10 href="http://www.nabble.com/how-to-deal-with-one-to-many-relationship--tf2517934.html">here
on Nabble.</a><span class=rvts11>&nbsp; &nbsp;</span></p>
<p><span class=rvts11><br></span></p>
<p><span class=rvts11>Anyone know if this Order/OrderItem is from a standard example
somewhere, as it came up then too, or is it just coincidence?</span></p>
<p><br></p>
<p>/Gwyn</p>

</body></html>


Mime
View raw message