• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping table for another mapping table

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using hibernate jpa. I am trying to map table between a mapping table and an entity. This mapping table has 2 id lets say
user_mapping with column userno and userloginid.
The entity is lets say
user_hobby with column hobbyid

Now I try to map with a join table user_mapping_hobby table with column
userno, userloginid and hobbyid.
How do I achieve this? Is this possible. Thanks
 
duke glasgow
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not an expert however i think its possible. Try going to the help section and it would tell you about the mapping table. Although it doesn't have anything about joining tables. I think if you repeat the step again. it would help.
............................................
Duke Glasgow
Colorado Drug Addiction
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic