views:

24

answers:

1

Is it possible to generate my custom mapping table in the many to many relationships in grails? I need to introduce an extra parameter in the mapping table and that is the need for creating my own custom mapping table :(

+1  A: 

Sure - you just need to map the join table with a domain class and change your many-to-many to two many-to-ones. See http://www.grails.org/Many-to-Many+Mapping+without+Hibernate+XML

Burt Beckwith