-->
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: join without association via annotations
PostPosted: Thu Jan 24, 2013 10:01 am 
Newbie

Joined: Thu Jan 24, 2013 9:41 am
Posts: 1
Hello,

I'm trying to solve the following issue but I have no clue if it's even possible.
We have 2 tables: A and B, and we have no association between them and cannot add one neither. (but ofcourse we have entity classes for them).

Now we want that every time we retrieve an Object/record from Type A, we can also retrieve 1 specific field from B.
We know that we can link A and B via A.someguid = B.someguid

How can we solve it this on an easy way?


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.