Re: SQL Generation calls static methods on generated classes?!

From: Mike Schrag (mschra..dimension.com)
Date: Wed Jun 04 2008 - 10:06:50 EDT

  • Next message: Simon McLean (JIRA): "[OS-JIRA] Created: (WOL-824) Entity Modeler: Change attribute name in entity moves attribute aside in subclass"

    > I'm a little gobsmacked to discover, that my SQL generation in
    > WOLips EOModeler failed,
    > because some code in static methods I added to the generated java
    > classes were being
    > called. The methods in question have the following signature.
    >
    > public static final String primaryKeyAttribute();
    > public static final String primaryKeyColumn();
    >
    > Please forgive me if I am being slow, but how the heck did those
    > methods end up being
    > called? What does SQL generation have to do with the generated class
    > files?
    Being called by what and by who ... Do you call them from a static { }
    block? Is it throwing an exception? What exception?

    ms



    This archive was generated by hypermail 2.0.0 : Wed Jun 04 2008 - 10:08:00 EDT