1 Reply Latest reply on Feb 28, 2008 7:25 AM by mars1412

    Possible bug in named queries

    Armenio Pinto Newbie

      Hi there,

      I guess I've hit what seems to be a bug in the way certain properties are referenced in a named query. If the entity bean has an attribute like:

      public String getPName() ...

      ... then, the named query fails deployment if the parameter "pName" is used, saying that it doesn't exist. The value "PName" needs to be used instead. This contrasts with the general rule, for example "getValueType()" maps to "valueType".

      Am I doing anything wrong or is this really a problem? Thanks a lot in advance,

      AP