Re: Hibernate Migration

From: Peter (peatha..ahoo.de)
Date: Mon Apr 27 2009 - 09:15:36 EDT

  • Next message: Robert Zeigler: "Re: Hibernate Migration"

    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.



    This archive was generated by hypermail 2.0.0 : Mon Apr 27 2009 - 09:16:14 EDT