Re: Problems generating SQL

From: Miguel Arroz (arro..uiamac.com)
Date: Mon Jun 02 2008 - 11:47:58 EDT

  • Next message: Mike Schrag: "Re: Problems generating SQL"

    Hi!

       I found the problem. Anyway, I leave this as a suggestion, it would
    be nice to show exactly where the error was, if possible.

       Yours

    Miguel Arroz

    On 2008/06/02, at 16:39, Miguel Arroz wrote:

    > Hi!
    >
    > I'm having problems generating SQL, an exception is thrown:
    >
    > Caused by: java.lang.NullPointerException
    > at
    > com
    > .webobjects
    > .jdbcadaptor
    > .PostgresqlExpression
    > .columnTypeStringForAttribute(PostgresqlExpression.java:379)
    > at
    > com
    > .webobjects
    > .jdbcadaptor
    > .PostgresqlExpression
    > .addCreateClauseForAttribute(PostgresqlExpression.java:709)
    > at
    > com
    > .webobjects
    > .eoaccess
    > .EOSynchronizationFactory
    > ._columnCreationClauseForAttribute(EOSynchronizationFactory.java:2308)
    > at
    > com
    > .webobjects
    > .jdbcadaptor
    > .PostgresqlSynchronizationFactory
    > .createTableStatementsForEntityGroup
    > (PostgresqlSynchronizationFactory.java:348)
    > at
    > com
    > .webobjects
    > .eoaccess
    > .EOSynchronizationFactory
    > .createTableStatementsForEntityGroups(EOSynchronizationFactory.java:
    > 487)
    > at
    > com
    > .webobjects
    > .jdbcadaptor
    > .PostgresqlSynchronizationFactory
    > .schemaCreationStatementsForEntities
    > (PostgresqlSynchronizationFactory.java:505)
    > at
    > com
    > .webobjects
    > .jdbcadaptor
    > .PostgresqlSynchronizationFactory
    > .schemaCreationScriptForEntities
    > (PostgresqlSynchronizationFactory.java:444)
    > at
    > org
    > .objectstyle
    > .wolips
    > .eomodeler
    > .core
    > .sql
    > .EOFSQLGenerator.generateSchemaCreationScript(EOFSQLGenerator.java:
    > 407)
    > ... 8 more
    >
    > Is there any way to know what exact column and entity is causing
    > this?
    >
    > Yours
    >
    > Miguel Arroz
    >
    > http://www.survs.com
    >

    http://www.survs.com





    This archive was generated by hypermail 2.0.0 : Mon Jun 02 2008 - 11:48:48 EDT