[jboss-user] [EJB 3.0] - Re: sum() returning null?

SmokingAPipe do-not-reply at jboss.com
Mon Mar 19 17:02:46 EDT 2007


I did some experiments with some more queries, and indeed, it looks like if you take the sum() of an empty set of objects you get null, not zero.  I just checked it and I get the same behavior in SQL itself.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029502#4029502

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029502



More information about the jboss-user mailing list