-->
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.  [ 1 post ] 
Author Message
 Post subject: access data from multiple tables
PostPosted: Thu Sep 20, 2007 3:15 am 
Newbie

Joined: Thu Sep 20, 2007 3:06 am
Posts: 1
I am using hibernate to access data from multiple tables and I need that data to be used in a visualization that I use. The main aspect of the data is the time field in each of the tables which is needed by the visualization.

here is the problem.

I am not able to access data from multiple tables using HQL.

I tried a query like "from a,b"

It keeps giving me a class cast exception.

how can I access data from both tables simultaneously.

I can sequentially access data right now but I need to read data at the same time from about 10 tables.


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

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.