Beginner |
 |
Joined: Fri Nov 28, 2003 11:21 am Posts: 49 Location: Buenos Aires, Argentina
|
Is it possible to map ,in a subclass, a list collection if the table has no indexes.
Is it possible to use the primary key like an index?
I ve read in the reference something about idbags,but i cant understand how do they work.
The xml looks like this
<list name="suplementos" lazy="false" cascade="all" inverse="true">
<key column="P_IdSuplemento"/>
<index column = "P_IdSuplemento" type ="int" />
<one-to-many class="Productos.Producto"/>
</list>
Thanks.
|
|