You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (JIRA)" <ji...@apache.org> on 2014/02/03 21:53:07 UTC

[jira] [Commented] (OPENJPA-2467) No setter was found for method like tStart

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

Kevin Sutter commented on OPENJPA-2467:
---------------------------------------

I'm good with your latest patch, Dalia.  Since I know you are working with Rick, I'll let him take care of committing on your behalf.  Thanks.

> 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
>         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)