@In(required=false)
| TblReviews tr=new TblReviews();
|
| @In(required=false)
| TblComments tblcomm;
| @Out(required=false)
| @RequestParameter
| Long rid4comm; (review entry id value)
|
| public void writeComment() {
| tr.setReviewEntryId(rid4comm);
| tblcomm.setReviewEntryId(tr);
| em.persist(tblcomm);
| }
if we use tr.setReviewEntryId(rid4comm); it giving error
without that it inserting
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082533#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...