You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by James W Loghry <jw...@us.ibm.com> on 2008/05/07 00:16:16 UTC

Reverse mapping with many/many association


I'm trying to generate annotated classes using a database using the
reverse-mapper included with OpenJPA.
I have two tables, a and b, that are paired using a many to many
association table in between (a_b_junction).
Is it possible, using the reverse-mapper task, to customize the generated
classes so that class "a" contains a reference to a list of "b" objects
instead of the association itself?

Furthermore, can I achieve this using a wildcard in the
customizer.properties file?

Thanks
- James