| Beginner | 
				 
							
					  | 
				 
							 
				
					 Joined: Tue May 02, 2006 8:04 am Posts: 34				
			 | 
			
				
				
					| 
					
						 Hibernate version: 
 1.0.2
 
 Was unable to find anything on the forum or Jira about this. I was having problems with an HQL query, it was returning entities while in my hql query I specified a sum function.
 
 select sum(employee.m_sick) from HumanResources.HRClasses.HREmployee employee
 
 (the actual query was more complex but in order to find the problem I narowed it down to this)
 
 Only when I removed the sum function NHibernate notified me by throwing an error.
 
 select employee.m_sick from Softelligent.Samples.HumanResources.HRClasses.HREmployee employee
 
 If this is a known bug, I apologize allready :). 
					
  
						
					 | 
				 
				 
			 |