Hi,
I would to know if there is a xdoclet attribute to set lazy loading to false on @hibernate.collection-many-to-many tag.
@hibernate.list lazy = "false" table = "JQMS_AUDIT_USER"
@hibernate.collection-key column="AUDT_ID"
@hibernate.collection-index column = "LIST_ORDER"
@hibernate.collection-many-to-many column = "USR_ID" class="com.gnt.jadeqm.model.security.User" lazy = "false"
This mapping is generating the following hibernate xml
<list
name="correctionResponsible"
table="JQMS_AUDIT_USER"
lazy="false"
>
<!-- @hibernate.collection-key tag is deprecated, use @hibernate.key instead -->
<key
column="AUDT_ID"
>
</key>
<!-- @hibernate.collection-index tag is deprecated, use @hibernate.index instead -->
<index
column="LIST_ORDER"
/>
<!-- @hibernate.collection-many-to-many tag is deprecated, use @hibernate.many-to-many instead -->
<many-to-many
class="com.gnt.jadeqm.model.security.User"
column="USR_ID"
outer-join="auto"
/>
</list>
But it miss in many-to-many tag the lazy attribute.
Best Regards,
Stevens
DISCLAIMER : This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the sender, are confidential and solely for the use of the intended recipient. The contents do not represent the opinion of the sender except to the extent that it relates to their official business.