Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2467

No setter was found for method like tStart

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.2
    • 2.4.0
    • jpa
    • None

    Description

      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

      Attachments

        1. OPENJPA-2467.txt
          20 kB
          Dalia Abo Sheasha
        2. OPENJPA-2467.txt
          22 kB
          Dalia Abo Sheasha

        Activity

          People

            curtisr7 Richard G. Curtis
            daniele.pirola@icteam.it Daniele Pirola
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: