dennisbyrne wrote:
I would look at the second two. note that I don't think you find many people w/ performance problems doing this, how many groups could one user be in?
at the same time, you will have to go w/ number 2 in the event that you ever need non-key information from the association table. for example, you may get a requirement to track when a user joined a group, or who added that user to the group, etc.
Thanks a lot. In terms of performance, you are correct that in this scenario I don't think it would be too bad. But I was just using the user/group as an example of this type of association, which I use pretty often so I was worried about nailing down the best general use technique to attack this problem. This is my first time implementing in hibernate and I am converting a big application so I am still trying to figure out some of these options.