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.  [ 2 posts ] 
Author Message
 Post subject: many-to-many in view EntityManager??
PostPosted: Tue Sep 12, 2006 5:59 am 
Newbie

Joined: Fri Apr 28, 2006 12:07 pm
Posts: 14
Hello! I am working with a many-to-many association. I have the table EVENT, the table PERSON and because of the many-to-many association, the table EVENT_PERSON. If I work with the console of org.hsqldb.util.DatabaseManager I can see the EVENT_PERSON table, but in the view EntityManager I only have the tables PERSON and EVENT without any relation between them.
If my mapping files were correct, that third table must appear in that view??

thank you very much for your time


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 12, 2006 6:22 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
no it shouldn't.

the entity view is for mapped *entities*, not mapped *tables*.

what should/could be between the two entities is a many-to-many association. Put a request in jira if you want it there ;)

_________________
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.  [ 2 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.