You can use two one-to-many associations to implement a many-to-many relationship. See Specifying the Cardinality of an Association for more information.