| 
					
						 Hi, 
 
 Got a question to ask, suppose I have an object A extending Object B. Supposing Object A has attributes maps to columns of Table A.
 
 Object A(with attributes attrA, attrB) extends Object B(with attributes attrC). Object A is mapped to Table A as such, Table A(column A, column B, column C), through annotations.
 
 When I query Table A using hibernate template. eg
 
 String params[]=new String[2]
 params[0]="a";
 params[1]="c";
 List list=getHibernateTemplate().find("from A where attrA = ? and attrC = ? ",params);
 
 I got the following error that the application is unable to find column attrC. Any idea where I have gone wrong or I should not be doing this.
 
 regards 
					
  
						
					 |