-->
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.  [ 6 posts ] 
Author Message
 Post subject: Browsing query result
PostPosted: Mon Jun 26, 2006 4:09 am 
Regular
Regular

Joined: Mon May 22, 2006 8:32 am
Posts: 67
Hi,

i have 4 tables in my database. When i try to query data from this tables with:

Code:
from Acct


in Hibernate tool "HQL-editor" I can browse the result in the properties editor. But only for one table...
Why that? Why can't i browse any result? Can someone help?

Regards,

a.k.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 26, 2006 4:45 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
what do you mean "but only for one table" ? "from Acct" will just show results rooted in the mappings for "Acct" and not four tables (unless you have mapped it as such)

I think you need to be more specific in your question for me to help ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Browsing query result
PostPosted: Mon Jun 26, 2006 4:50 am 
Regular
Regular

Joined: Mon May 22, 2006 8:32 am
Posts: 67
Hi max,

i have 4 tables. When i query each with

Code:
from "tablename"


i got results in Hibernate Query result editor. For one tabel i can browse these results in the properties editor line by line. But only for one of the tables. All others don't show properties...

Regards,

a.k.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 26, 2006 5:19 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
mkay - and nothing happens if you select a row ?

btw. just so you know the name you put after from is not a table, it as a entity or class name.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Browsing query result
PostPosted: Mon Jun 26, 2006 5:27 am 
Regular
Regular

Joined: Mon May 22, 2006 8:32 am
Posts: 67
max wrote:
mkay - and nothing happens if you select a row ?

No, if i select a row nothing happens in the properties browser. Just for one of my tables i get a browsable result.
max wrote:
btw. just so you know the name you put after from is not a table, it as a entity or class name.

Yes, i know. In the HQL editor you are "querying" for a class or entity name.


a.k.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 26, 2006 5:49 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
put a bug report in jira about it.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.