-->
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: [JAVA - HIBERNATE] Relation entity with hbm
PostPosted: Wed Dec 08, 2004 5:57 am 
Newbie

Joined: Tue Jul 27, 2004 7:43 am
Posts: 3
Hi everybody,

I have a little problem (sorry for my english but is very poor)

I have 2 table (A and B) I would like to create a link between the 2 tables without passing by the primary key

I have one fields in table A who exists in the table B and I'd like cretae a join with this fields but I don't want to create hbm for the table B but also to be able to read data them from the table B while passing by table A and the link to create above

If you have an example with hbm file and java files, thank you.
In Advance thank you very much for your help

StuJava


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.