<br><br>Can we map with S2dao like one-to-many.<br><br><br>I want to use "values" 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> <br> private static final String TABLE="Z_XYZ"; <br> //ID<br> private String code = null;<br> /** Values which belong to this definition */<br> private Set values = Collections.EMPTY_SET
;<br>}<br><br>public class PQR {<br><br> private static final String TABLE="Z_PQR"; <br><br> /** [PK]ID */<br> private Long id = null;<br><br> /** XYZ */<br> 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.