Bugs item #686509, was opened at 2003-02-14 23:11 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=686509&group_id=40712
Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Cristian Carstoiu (carstoiuc) Assigned to: Nobody/Anonymous (nobody) Summary: Bad SQL codegen ie: select sum(p.price * c.value) Initial Comment: Example as follows: select sum(c.value * p.price), sum(c.value) from ... the SQL code generated looks ok, but after the last parameter of the SQL, the code is trying to search for the third parameter (at least one over your total number of params.) ---------------------------------------------------------------------- >Comment By: Gavin King (oneovthafew) Date: 2003-02-17 21:23 Message: Logged In: YES user_id=384580 expressions are not supported in the SELECT clause. You are welcome to resubmit this as a feature request.... (I am closing this, because it is not a bug.) ---------------------------------------------------------------------- Comment By: Cristian Carstoiu (carstoiuc) Date: 2003-02-15 00:31 Message: Logged In: YES user_id=572400 I attach the stacktrace and the mbeans-descriptor ---------------------------------------------------------------------- Comment By: Max R. Andersen (maxcsaucdk) Date: 2003-02-14 23:44 Message: Logged In: YES user_id=18119 Just changing this to not point at codegen as this has to do with SQL generation (not source code generation) :) And do you have an stack trace ? mapping.xml ? etc.. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=428708&aid=686509&group_id=40712 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel