Hi Michael! See comments inline. > You'll want to set the two FKs in the many-to-many join table to be > PKs in the model. Cayenne will treat this as a compound key (which is > what it really is). These links might also help: > > http://cayenne.apache.org/doc/many-to-many-relationships.html > > http://cayenne.apache.org/doc/cayennemodeler-flattened-relationships.html
Thanks - I will look into this! > I've not heard of liquibase before, sorry. Okay. It is an open source database schema migration tool: http://liquibase.org/ (It comes with hibernate support ... although ... I couldn't make it working ;-)) Regards, Peter.
