Re: Problems generating SQL

From: Chuck Hill (chil..lobal-village.net)
Date: Wed May 23 2007 - 13:47:35 EDT

  • Next message: Mike Schrag: "frameworks build into project root"

    On May 23, 2007, at 10:41 AM, John Huss wrote:

    > I had that problem. Let's see...
    >
    > If you look at the index.eomodeld in a text editor you'll see a
    > section for "jdbc2Info". The "createParams = 1;" entries within this
    > are the real problem. I tried quoting the 1 (like createParams =
    > "1";) and that didn't work. I ended up just deleting the jdbc2Info
    > portion - which I think it ok to do - it hasn't caused me any problems
    > yet. Maybe someone can confirm that this is ok?

    Yes, safe. This is just cached info. If it does not exist, EOF will
    fetch a new copy. Having this cached causes lots of problems when
    switching driver versions and databases.

    Chuck

    > Otherwise, you can edit the "columnTypeStringForAttribute" function in
    > the plugin and make it parse createParam with either integer or string
    > input.
    >
    > John
    >

    -- 
    

    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 : Wed May 23 2007 - 13:48:50 EDT