-->
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.  [ 3 posts ] 
Author Message
 Post subject: fetch queries and the Hibernate Query Result view
PostPosted: Mon Feb 06, 2006 5:59 pm 
Newbie

Joined: Fri Sep 12, 2003 4:01 pm
Posts: 19
I took a look at this bug:
HBX-482
Fetch keyword in a select HQL cause errors the "Hibernate Query Result"

The reported problem is that if you submit a query that uses "fetch"
via the eclipse plugin's HQL scratchpad
you get back an exception in the Hibernate Query Result.

The exception happens during a call to Query.getReturnAliases. I think
the bug is in Hibernate itself, not in the tools. I can get exactly
the same error and stack trace (the hibernate part at least) in a
simple test program that calls getReturnAliases on a query containing
a fetch. Essentially the same thing happens for getReturnTypes.

I'd like to file a bug but you're supposed to discuss things in the forum first. But I thought this bug, being pretty obscure, might just get lost in the noise if I posted on the main user's forum.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 2:33 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
sounds like a bug yes if it just happens with getReturnAliases().
Report it against the core with a simple testcase. thanks.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 07, 2006 3:22 pm 
Newbie

Joined: Fri Sep 12, 2003 4:01 pm
Posts: 19
I've submitted a bug report: HHH-1464


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.