Re: DbGenerator

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Mar 03 2006 - 05:42:56 EST

  • Next message: Pirola Davide: "select field with function"

    Current MySQLAdapter was designed for the MyISAM tables that do not
    support constraints. I just added InnoDB autodetection and constraint
    support code to the adapter. It should work in the next nightly build
    (note that you'll have to delete explicit MySQLAdapter for the
    DataNode in the Modeler, so that Cayenne autodetection could kick in).

    Andrus

    On Mar 3, 2006, at 10:35 AM, Gary Jarrel wrote:

    > Hey All!
    >
    > I'm interested to know whether the DBGenerator generates foreign key
    > constraints under MySQL?
    >
    > I've set: setShouldCreateFKConstraints(true) but it doesn't appear to
    > be creating the constraints when it generates the database prior to
    > running my test cases?
    >
    > Or am I just blind on this Friday avo?
    >
    > garyj
    >



    This archive was generated by hypermail 2.0.0 : Fri Mar 03 2006 - 05:43:01 EST