Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Reverse mapping with many/many association

James W Loghry

2008-05-06


Author LoginPost Reply


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

©2008 gg3721.com - Jax Systems, LLC, U.S.A.