-->
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 should look the mapping file? need help!
PostPosted: Mon Oct 18, 2004 8:25 am 
Newbie

Joined: Fri Oct 15, 2004 9:47 am
Posts: 3
How should look the mapping file for this tables?

users_main{
user_id //assigned, Integer
user_name //String
user_email //string
}

tokens_data{
token_id //assigned, Integer
secret_a //Srtring
secret_b //String
}

token_user_mapping {
token_id //FK, integer
user_id //FK, integer
}

A have this relations between tables:
user_main AND token_user_maping ---> 1 to N
token_user_mapping AND tokens_data --> 1 to 1

10x in advance!

_________________
w.a.s.p


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.