These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: No exception with aggregate on unmapped property
PostPosted: Wed Jul 19, 2006 10:03 am 
Beginner
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 :).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.