#68 Display name in CMPFieldMetaData error

v2.4.x
closed-wont-fix
nobody
5
2002-09-12
2002-04-17
Anonymous
No

I've changed my copy of the class
org.jboss.ejb.plugins.jaws.metadata.CMPFieldFieldMetaDa
ta so that this error message (on lines 155 and 133):

log.warn("ERROR : Nested Field does not have a get
method");

to

log.warn("ERROR : Nested Field '" + name + "' does not
have a get method");

this helps when watching the debug information during
jboss startup.

Discussion

  • Seth Sites
    Seth Sites
    2002-07-16

    Logged In: YES
    user_id=579275

    RCS
    file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plug
    ins/jaws/metadata/CMPFieldMetaData.java,v
    retrieving revision 1.14
    diff -u -r1.14 CMPFieldMetaData.java
    --- CMPFieldMetaData.java 5 Jan 2002 12:08:52 -
    0000 1.14
    +++ CMPFieldMetaData.java 16 Jul 2002 23:09:34 -
    0000
    @@ -31,7 +31,7 @@
    * @author <a href="mailto:dirk@jboss.de">Dirk
    Zimmermann</a>
    * @author <a
    href="mailto:vincent.harcq@hubmethods.com">Vincent
    Harcq</a>
    * @author <a
    href="mailto:david_jencks@earthlink.net">David
    Jencks</a>
    - * @version $Revision: 1.14 $
    + * @version $Revision: 1.15 $
    *
    * Revison:
    * 20010621 danch: merged patch from David Jenks -
    null constraint on columns.
    @@ -136,7 +136,7 @@
    }
    catch(NoSuchMethodException e)
    {
    - log.warn("ERROR : Nested Field does not
    have a get method");
    + log.warn("ERROR : Nested Field '" + name
    + "' does not have a get method");
    }
    }
    validJdbcType = true;
    @@ -159,7 +159,7 @@
    }
    catch(NoSuchMethodException e)
    {
    - log.warn("ERROR : Nested Field does not have
    a get method");
    + log.warn("ERROR : Nested Field '" + name + "'
    does not have a get method");
    }
    }
    }

     
  • Dain Sundstrom
    Dain Sundstrom
    2002-09-12

    Logged In: YES
    user_id=251431

    If this is still a problem, open a new patch and update it
    for the 3.2 tree and I'll commit it to Branch_3_2.

     
  • Dain Sundstrom
    Dain Sundstrom
    2002-09-12

    • labels: 316844 --> JAWS (inactive)
    • status: open --> closed-wont-fix