-->
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: How to build an associatio between a table and relationtable
PostPosted: Thu Nov 22, 2007 9:19 am 
Newbie

Joined: Thu Aug 10, 2006 7:43 am
Posts: 14
I have a relation table named Table_Role_Process (trp) which set Table_Role (tr) and Table_Process (tp) in relationship to each other.

trp has a column trp.Role_ID and a trp.Process_ID (and some more).

I want to display the Table_Role columns in a JSP but some columns should be fedded by Table_Role_Process (and all columns may be editable).

How do I have to code this association in the hbm.xml file?

Where can I find good information about the different association types (

http://www.hibernate.org/hib_docs/v3/reference/en/html_single/ is not a really good one explaining these kinds of associations)?


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.