JBoss Community

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

created by maran selva in EJB3 Development - View the full discussion

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);

Reply to this message by going to Community

Start a new discussion in EJB3 Development at Community