| 
					
						 Hi,
 I am using Hibernate 2.0 and in Object HBM file I have set many-to-one relationships for multiple objects.
 When I load my object, all related many-to-one objects are loaded which I don’t want specially when i am just showing list of Objects with ID and Name only.
 
 Thus I want to Lazy initialize my Many-to-one relationship, so that these objects are not loaded until explicitly asked. I went through 2.0 DTD and could not find any method to do that.
 
 Lack of making Many-to-one as lazy is hampering performance of my project.
 
 Any direct or alternative method to make the relationship lazy is really appreciated.
 
 BTW, very nice product...:) 
 
 Vishol
 
 
 Hibernate version:Hibernate 2.0 
 
 Mapping documents:
 
 Code between sessionFactory.openSession() and session.close():
 
 Full stack trace of any exception that occurs:
 
 Name and version of the database you are using:MYSQL 7.0 
 
 The generated SQL (show_sql=true):
 
 Debug level Hibernate log excerpt: 
											 _________________ Vishol
					
  
						
					 |