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: Adding fields to an associative table
PostPosted: Tue Apr 04, 2006 6:23 pm 
Newbie

Joined: Wed Aug 18, 2004 8:44 am
Posts: 12
Is there a way to do the following with hibernate:

I have a many-to-many relationship between two classes: A and B.
I want to include a new field in their associative table that holds the date that the relation was created.
A saw some ways to do that using component mapping in the documentation, but that involves the creation of an third class. And it's not desirable for me.

Someone has a solution?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 5:03 am 
Beginner
Beginner

Joined: Wed Apr 05, 2006 5:01 am
Posts: 20
Hi Marcio,

Have you found a solution? I'm facing exactly the same problem!

greets,
jan


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.