Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8263224

Typo in Annotation Type ManyToOne (JavaEE 7)

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
           @Entity
              public class ProgramManager {
              @Id int id;
              @OneToMany(mappedBy="jobInfo.pm")
              Collection<Employee> manages;
           }

      should be
           @Entity
              public class ProgramManager {
              @Id int id;
              @OneToMany(mappedBy="jobInfo.pm")
              Collection<Employee> managers;
           }


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: