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

@Id annotation should be illegal when setter is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.0
    • 2.0.0-M1, 2.0.0-M2, 2.0.0-M3
    • jpa
    • None
    • 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

            Unassigned Unassigned
            xhemjl Ɓukasz Budnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: