-->
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.  [ 3 posts ] 
Author Message
 Post subject: in h3, Can one table mapping to more than one mapping file
PostPosted: Wed Oct 12, 2005 11:29 pm 
Beginner
Beginner

Joined: Thu Jul 07, 2005 5:17 am
Posts: 30
Hi

for instance,there are 2 associating tables
parent: sys_users, primary key id
child: bbs_topics, foreign key userid

I want 2 mapping files to bbs_topics,one has userid field still,and the other one use a set named SysUserSet replaced the userid field to associate with SysUsers.Thus,I can get userid contents directly using the first mapping file,and when I want to modify the sys_users's id field, using the second mapping file can implement bbs_topics's auto modification.

_________________
leon


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 13, 2005 9:08 pm 
Beginner
Beginner

Joined: Thu Jul 07, 2005 5:17 am
Posts: 30
sb help?

_________________
leon


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 14, 2005 2:17 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i dont really get what you are asking for but try and read about entity-name ?

_________________
Max
Don't forget to rate


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

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.