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

No setter was found for method like tStart

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.4.0
    • Component/s: jpa
    • Labels:
      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
          22 kB
          Dalia Abo Sheasha
        2. OPENJPA-2467.txt
          20 kB
          Dalia Abo Sheasha

          Activity

            People

            • Assignee:
              curtisr7 Rick Curtis
              Reporter:
              daniele.pirola@icteam.it Daniele Pirola
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: