openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James W Loghry <jwlog...@us.ibm.com>
Subject Reverse mapping with many/many association
Date Tue, 06 May 2008 22:16:16 GMT


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


Mime
View raw message