From: <sg...@gn...> - 2006-03-28 08:53:10
|
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 =3D "false" table =3D "JQMS_AUDIT_USER" @hibernate.collection-key column=3D"AUDT_ID" @hibernate.collection-index column =3D "LIST_ORDER" @hibernate.collection-many-to-many column =3D "USR_ID" class=3D"com.gnt.jadeqm.model.security.User" lazy =3D "false" This mapping is generating the following hibernate xml <list name=3D"correctionResponsible" table=3D"JQMS_AUDIT_USER" lazy=3D"false" > <!-- @hibernate.collection-key tag is deprecated, use @hibernate.key instead --> <key column=3D"AUDT_ID" > </key> <!-- @hibernate.collection-index tag is deprecated, use @hibernate.index instead --> <index column=3D"LIST_ORDER" /> <!-- @hibernate.collection-many-to-many tag is deprecated, = use @hibernate.many-to-many instead --> <many-to-many class=3D"com.gnt.jadeqm.model.security.User" column=3D"USR_ID" outer-join=3D"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) subsequent= ly transmitted from the sender, are confidential and solely for the use of= the intended recipient. The contents do not represent the opinion of the se= nder except to the extent that it relates to their official business.= |