While you cannot use a reference set (many-to-many association), you should be able to use a reference (many-to-one or one-to-one). To achieve this, you could use a helper entity with two one-to-many associations instead of one many-to-many association.