<br><br>Can we map with S2dao like one-to-many.<br><br><br>I want to use &quot;values&quot; of entity class XYZ will have a map to another entity class PQR.<br>and this will be a one-to-many Map.<br><br><br>public class XYZ {  
<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; private static final String TABLE=&quot;Z_XYZ&quot;;&nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp; //ID<br>&nbsp;&nbsp;&nbsp; private String code = null;<br>&nbsp;&nbsp;&nbsp; /** Values which belong to this definition */<br>&nbsp;&nbsp;&nbsp; private Set values = Collections.EMPTY_SET
;<br>}<br><br>public class PQR {<br><br>&nbsp;&nbsp;&nbsp; private static final String TABLE=&quot;Z_PQR&quot;;&nbsp;&nbsp;  <br><br>&nbsp;&nbsp;&nbsp; /** [PK]ID */<br>&nbsp;&nbsp;&nbsp; private Long id = null;<br><br>&nbsp;&nbsp;&nbsp; /** XYZ */<br>&nbsp;&nbsp;&nbsp; private XYZ definition = null;<br>}
<br clear="all"><br><br>thanks<br>-- <br>Sabbir Bin Ashraf<br>Senior Software Developer<br>United IT GlobalNet (JV) Ltd.<br>(A Japan Bangladesh Joint Venture Company)<br>United House, 10 Gulshan Avenue, Dhaka-1212 , BD.