Re: SQL generation of FK constraints for cross-model relationships

From: Mike Schrag (mschra..dimension.com)
Date: Thu Jul 31 2008 - 16:30:27 EDT

  • Next message: David Holt: "Re: I don't think WOLips loves me anymore..."

    >>> I think that is something in the way the SQL is generated - might
    >>> have to do with the fact, that different models can have different
    >>> connection dictionaries and therefore foreign key constraints
    >>> would not work if you connect to different databases.
    >> Good idea, but I just checked and in my case the connection
    >> dictionaries are identical...
    >
    > But this is something that can potentially change anytime during
    > start or even runtime and I believe I remember that this was the
    > reason it's not creating the constraints.
    The real test here is to do this via EOF API's. If you can get the
    desired output with straight EOF, that's all I'm doing, too, so I just
    need to know what I'm not doing. If you can't, then EM will never
    give you what you want.

    ms



    This archive was generated by hypermail 2.0.0 : Thu Jul 31 2008 - 16:31:26 EDT