-->
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: query involving two tables
PostPosted: Fri May 11, 2012 10:03 am 
Newbie

Joined: Fri May 11, 2012 9:49 am
Posts: 1
Hello, I'm new to the forum, and Hibernate.

Can anyone help me .....

I think my question is simple. I have two tables and Transaction TransactionData,
TransactionData references the table via the field tranactionId the table Transaction ..... ie in a very simple this is the query:

select * from transaction, transaction_data
where = transaction.transaction_id transaction_data.transaction_id

In Hibernate, which technique is used to query this?

Must be defined as the subject of return of this query is the table that contains fields that the table TransactionData and Transaction?

Thanks in advance.

Diego (Venice)


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.