openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2467) No setter was found for method like tStart
Date Wed, 05 Feb 2014 21:20:10 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13892579#comment-13892579
] 

ASF subversion and git services commented on OPENJPA-2467:
----------------------------------------------------------

Commit 1564931 from [~curtisr7] in branch 'openjpa/trunk'
[ https://svn.apache.org/r1564931 ]

OPENJPA-2467: Fix detection of property access method names. Patch contributed by Dalia Abo
Sheasha.

> 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
>            Assignee: Rick Curtis
>             Fix For: 2.4.0
>
>         Attachments: OPENJPA-2467.txt, OPENJPA-2467.txt
>
>
> 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.5#6160)

Mime
View raw message