rahul dongre wrote:
If you are using the list, then you need to define the list-index.
Because in list we have the indexing property.
So now you can try with this.
<list name="children"> 
<list-index column="children_index"/>
<key column="parent_id"/> 
<one-to-many class="Child"/> 
</list> 
Enjoy !!
ok,thanks... but What it do ?
because I add 
<list-index column="something" />
and I not have any column called something ! and works, I can put anything column ? and work.
the documentation says:
	
column_name (required): The name of the column holding the collection index values. 
why I need it ?
thanks