1 Reply Latest reply on May 7, 2007 10:02 AM by Rich Midwinter

    Collection Mapping

    Rich Midwinter Newbie

      I've got an entity bean, Event, with a Collection of User objects in it. What column type do I have to create for MySQL to store a Collection in? Or is it more complicated - eg. do I have to create a new table for mapping Events to Users? If so how do I do it in such a way that everything's going to know where to find the table?

      Also, what's the relationship between hibernate and EJB3? If any. And is there a way to have the database tables generated from EJB3 entity beans?