openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Pirola (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-2467) No setter was found for method like tStart
Date Fri, 20 Dec 2013 21:54:09 GMT
Daniele Pirola created OPENJPA-2467:
---------------------------------------

             Summary: No setter was found for method like tStart
                 Key: OPENJPA-2467
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2467
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa
    Affects Versions: 2.2.2
            Reporter: Daniele Pirola


Suppose having an entity class with fields like tStart, tEnd, tModify (with second letter
in upper case). The corresponding getter and setter are gettStart and settStart, gettEnd,
... and not getTStart or setTStart.

Inside class PersistenceMetaDataDefaults use of StringUtils.capitalize in method isDefaultPersistent
generate the mistake.

Look at this pdf, section 8.8
http://download.oracle.com/otn-pub/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/beans.101.pdf



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message