title: hibernate mapping list-index
body: <p>I am using list for one-to-many bi-directional mapping in hibernate..</p>
  
  <p>following is my code for list:</p>
  
  <pre><code>&lt;list name="fEvents" table="FTP_SCAN_EVENTS" cascade="save-update" access="field"&gt;
    &lt;key column="LOCATION_ID"  /&gt;
    &lt;list-index column="idx" /&gt;
    &lt;one-to-many class="FtpScanEvents" /&gt;
  &lt;/list&gt;
  </code></pre>
  
  <p>the <code>column idx</code> in the table is not generating..Do I have to have it as a property in my class? any suggestion on generating this Id...?</p>