| 
					
						 I have a Usrgsm class and a Suscrb class with a many-to-one association.
 When I want to load the Suscrb entity, I want to load all the properties without the Usrgsm associated with the many-to-one relationship. I have used the three option for the lazy option in the many-to-one tag (lazy=proxy, lazy=no-proxy and lazy=false) but the Usrgsm is always loaded.
 
 Here are the mapping files. I use Hibernate 3.1.
 
 <hibernate-mapping package="com.cwsoft.model.businessobject">
 
 <class name="Suscrb" table="SUSCRB" lazy="false">
 <id name="id" column="ID" type="long">
        <generator class="assigned"/>
 </id>
 <many-to-one name="usrgsm" column="ID_UG" class="Usrgsm" lazy="proxy"/>
          <property name="refmaj" column="REFMAJ" type="string"/>
          <property name="susnum" column="SUSNUM" type="long"/>
         <property name="operator" column="OPERATOR" type="string"/>
     </class>
     
 </hibernate-mapping>
 
 <hibernate-mapping package="com.cwsoft.model.businessobject">
 
     <class name="Usrgsm" table="USRGSM" lazy="false">
    <id name="id" column="ID" type="long">
             <generator class="assigned"/>
 </id>
         <property name="datcrt" column="DATCRT" type="string" />
         <property name="name" column="NAME" type="string" />
         <property name="firstname" column="FIRSTNAME" type="string" />
       </class>
     
 </hibernate-mapping> 
					
  
						
					 |