Re: Entity Modeler SQL generation trouble

From: Chuck Hill (chil..lobal-village.net)
Date: Tue Nov 13 2007 - 16:34:42 EST

  • Next message: Zak Burke: "Re: Entity Modeler SQL generation trouble"

    On Nov 13, 2007, at 1:26 PM, Mike Schrag wrote:

    >> Hmm. I don't know. It is certainly not creating everything
    >> necessary (indexes, constraints, etc - but this is getting better
    >> and better), but it helps getting the basics for a hand maintained
    >> script.
    > I think Chuck was referring to his querying code, not the fact that
    > he's using SQL gen ...

    Correct. An EOF fetch in a static initializer makes me feel all queasy.

    >> And the other thing is: why is SQL generation looking at the java
    >> classes? Mike, any hint on that?
    > SQL generation starts up EOF and generates SQL using the same
    > methods that EOF uses. That means it's also doing NSBundle
    > loading, which is going to touch java files. I can only assume his
    > java files are doing something funky in a static block or something?

    Chuck

    -- 
    

    Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects



    This archive was generated by hypermail 2.0.0 : Tue Nov 13 2007 - 16:38:14 EST