[jboss-dev-forums] [EJB3 Development] - How to assign value to Many to One field in EJB3 with JSF
maran selva
do-not-reply at jboss.com
Wed Mar 13 02:04:56 EDT 2013
maran selva [https://community.jboss.org/people/maran_su] created the discussion
"How to assign value to Many to One field in EJB3 with JSF"
To view the discussion, visit: https://community.jboss.org/message/802256#802256
--------------------------------------------------------------
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
[https://community.jboss.org/message/802256#802256]
Start a new discussion in EJB3 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2030]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130313/16c0ae78/attachment.html
More information about the jboss-dev-forums
mailing list