0 Replies Latest reply on Mar 13, 2013 2:04 AM by maran selva

    How to assign value to Many to One field in EJB3 with JSF

    maran selva Newbie

      Hi ,

       

              I am working JSF with EJB3 ,i have setup table called Development_phase contains list of predefined value, which act as forien key in RTP table.

       

      when ever i save the record i got null value in the rtp table rtp_development_phase_id(Forien Key).

      please refer the attachments and can any one suggest me how to pass the value for one to many field.

       

      actaull y i tried like

       

       

      rtp.getDevelopmentPhase.setDevelopmet_phase_id(2);