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

@Id annotation should be illegal when setter is missing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.0
    • Fix Version/s: 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
    • Component/s: jpa
    • Labels:
      None
    • Environment:
      Geronimo 2.0.1, Java 6

      Description

      The @Id annotation on the getXXX method is illegal when there is no corresponding setXXX method.

      OpenJPA allows such cases when it should rise an error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xhemjl Łukasz Budnik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: