Re: DbGenerator

From: Borut Bolčin (cayenn..mail.si)
Date: Fri Mar 03 2006 - 15:47:01 EST

  • Next message: Jonathan Carlson: "A Groovy way to use Cayenne on the fly..."

    Now that is great news!

    Andrus Adamchik pravi:
    > 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 - 15:46:54 EST