VampBoy wrote:
Wow, blast from the past. I can't remember what I wanted this for, must not have been that important :D
Haha, yeah - didn't notice the date on this post - 2004!
I was searching the forum for my problem and found a number of posts about it, so i replied to each one with that post.
I've hit the problem because I'm using a subquery which needs to return only one column (it's an = condition), but the column returned needs to be the 'id' sort of thing, but the aggregation column is actually the 'date'. Soo - I needed the 'date' column to not be in the select clause - otherwise of course Oracle complains "too many values".
Btw - out of curiosity - do you still use Hibernate? - I'm just about to have a look at your post history ;)