I think this test could help you: http://svn.rifers.org/rife/trunk/src/unittests/com/uwyn/rife/database/querymanagers/generic/TestGenericQueryManagerManyToOne.java
It uses the beans that are here: http://svn.rifers.org/rife/trunk/src/unittests/com/uwyn/rifetestmodels/ HTH, Geert On 31 Mar 2009, at 09:44, Rahul wrote: > > Yes, thats correct. Lets say I am registering a new user(user table) > to the db with corresponding role(role table). > I have a realtionship table with userid and roleid as foreign keys to > the user_role_mapping(user_role_mapping table) > mapping table. > I just want to save the user and corresponding entry should be made to > the user_role_mapping table. > > How can I go about it. > > Is there any link or any sample example which i can look forward to. > As i have looked into many examples > but i didnt find one according to my requirement. -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Flytecase Band - http://flytecase.be Music and words - http://gbevin.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rife-users" group. To post to this group, send email to rife-users@googlegroups.com To unsubscribe from this group, send email to rife-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rife-users?hl=en -~----------~----~----~----~------~----~------~--~---